diff --git a/vars/main.yml b/vars/main.yml index 59ddd47..dc2c058 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -2,10 +2,35 @@ mysql_root_password: "{{mariadb_root_password}}" mysql_databases: - name: "{{cat_db_name}}" - encoding: latin1 - collation: latin1_general_ci + encoding: utf8 # this is default + collation: utf8_general_ci # also default, but explicit is better then implicit ;) mysql_users: - name: "{{cat_db_user}}" host: "%" password: "{{cat_db_password}}" - priv: "{{cat_db_name}}.*:ALL" \ No newline at end of file + priv: "{{cat_db_name}}.*:ALL" + + +# -------------- +# Listed below are more default values of the mysql setup, these are not changed regularly +# and thus are not listed in defaults with the "cat_" prefix. +# If you want to knew all the tiny details of the mysql setup look (here)[https://github.com/geerlingguy/ansible-role-mysql] + +# The home directory inside which Python MySQL settings will be stored, which Ansible will use when connecting to MySQL. +# This should be the home directory of the user which runs this Ansible role. +# The mysql_user_name and mysql_user_password can be set if you are running this role under a non-root user account and want to set a non-root user. +mysql_user_home: /root +mysql_user_name: root +mysql_user_password: root + +# The MySQL root user account details. +mysql_root_home: /root +mysql_root_username: root +#mysql_root_password: root + +# Default MySQL connection configuration. +mysql_port: "3306" +mysql_bind_address: '0.0.0.0' +mysql_datadir: /var/lib/mysql +#mysql_socket: *default value depends on OS* (debian: /var/run/mysqld/mysqld.sock) +#mysql_pid_file: *default value depends on OS* (debian: /var/run/mysqld/mysqld.pid)