Commit 3184eeff authored by Thomas Schneider's avatar Thomas Schneider

mysql: Fix lint errors

parent d1cfa497
......@@ -4,4 +4,5 @@
mysql_root_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql create=true length=20') }}"
mysql_backup_user: "backup"
# yamllint disable-line rule:line-length
mysql_backup_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql-backup create=true length=20') }}"
......@@ -45,7 +45,7 @@
- name: ensure the backup procedure can access the backup password
template:
src: my.cnf
dest: "/root/.mysql-{{mysql_backup_user}}.cnf"
dest: "/root/.mysql-{{ mysql_backup_user }}.cnf"
owner: root
group: root
mode: '0600'
......@@ -70,4 +70,3 @@
file:
path: /etc/cron.d/mysql-snapshot
state: absent
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment