Skip to content
Snippets Groups Projects
Commit 3184eeff authored by Thomas Schneider's avatar Thomas Schneider
Browse files

mysql: Fix lint errors

parent d1cfa497
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment