You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
765 B
YAML
27 lines
765 B
YAML
---
|
|
mariadb_server_version: '10.6'
|
|
mariadb_server_global_my_cnf: '/etc/mysql/my.cnf'
|
|
mariadb_server_config_dir: '/etc/mysql/mariadb.conf.d'
|
|
|
|
my_cnf_file: '/root/.my.cnf'
|
|
database_engine: maria
|
|
database_state: present
|
|
backup_dest_dir: "{{ backup_directory }}/{{ database_engine }}/{{ get_current_date }}"
|
|
backup_status_file: '{{ backup_dest_dir }}/backup_finished'
|
|
|
|
mysql_root_username: "{{ mysql_root_username_vault }}"
|
|
mysql_root_password: "{{ mysql_root_password_vault }}"
|
|
|
|
|
|
mysql_replication_user:
|
|
name: repl_user
|
|
password: '{{ mysql_replication_user_password_vault }}'
|
|
|
|
mysqldump_creds:
|
|
username: backupuser
|
|
password: '{{ mysql_dump_user_password_vault }}'
|
|
host: '%'
|
|
priv: '*.*:ALL,GRANT'
|
|
|
|
backup_target: "dump_all_{{ ansible_date_time.date }}.sql"
|