main.yml 869 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. # defaults file for mariadb
  3. mariadb_version: "10.4"
  4. mysql_user_name: admin
  5. mysql_user_password: pedro
  6. mysql_root_username: root
  7. mysql_root_password: pedro
  8. # Set this to `true` to forcibly update the root password.
  9. #mysql_root_password_update: false
  10. #mysql_user_password_update: false
  11. # Allow remote root login
  12. disable_remote_root_login: true
  13. # Specify address to listen
  14. mariadb_bind_address: '0.0.0.0'
  15. mariadb_port: 3306
  16. # Add mariabd databases
  17. # default create nothing
  18. mariadb_database:
  19. - name: nextcloudb
  20. collation: utf8_general_ci
  21. encoding: utf8
  22. state: present
  23. target: omit
  24. priv: '*:ALL,GRANT'
  25. pass: 'secret'
  26. hosts: "{{ groups['web_servers'] | default('localhost') }}"
  27. mariadb_user_encrypted: false
  28. # Specify slow query log
  29. mariadb_slow_query_log_enabled: false
  30. mariadb_slow_query_time: "2"
  31. galera_cluster_name: "gaclunc"