This commit is contained in:
phil 2023-10-21 15:54:39 +02:00
parent 6b3d265524
commit dd9b42a8b8
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ munin_sql_password: "{{ lookup('ansible.builtin.password', '/tmp/{{ inventory_ho
mysql_socket: /run/mysqld/mysqld.sock
automysqlbackup_backupdir: /var/lib/automysqlbackup
automysqlbackiup_dbhost: localhost
automysqlbackup_dbhost: localhost
automysqlbackup_mailaddr: root
automysqlbackup_postbackup: /usr/local/bin/automysqlbackup_post_script

View file

@ -1,6 +1,6 @@
# {{ ansible_managed }}
DBHOST={{ automysqlbackiup_dbhost }}
DBHOST={{ automysqlbackup_dbhost }}
DBNAMES=`mysql --defaults-file=/etc/mysql/debian.cnf --execute="SHOW DATABASES" | awk '{print $1}' | grep -v ^Database$ | grep -v ^mysql$ | grep -v ^performance_schema$ | grep -v ^information_schema$ | tr \\\r\\\n ,\ `
BACKUPDIR="{{ automysqlbackup_backupdir }}"
MAILCONTENT="quiet"