main.yml 920 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # Add mariabd users
  25. # default create nothing
  26. mariadb_user:
  27. - name: web
  28. password: secret
  29. #host: 10.90.90.14 (replaced with global vars when calling role)
  30. priv: 'nextcloudb.*:ALL,GRANT'
  31. encrypted: false
  32. # Specify slow query log
  33. mariadb_slow_query_log_enabled: false
  34. mariadb_slow_query_time: "2"