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

mysql: Fix lint errors

parent d1cfa497
...@@ -4,4 +4,5 @@ ...@@ -4,4 +4,5 @@
mysql_root_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql create=true length=20') }}" mysql_root_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql create=true length=20') }}"
mysql_backup_user: "backup" mysql_backup_user: "backup"
# yamllint disable-line rule:line-length
mysql_backup_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql-backup create=true length=20') }}" mysql_backup_password: "{{ lookup('passwordstore', 'db/{{ ansible_hostname }}-mysql-backup create=true length=20') }}"
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
- name: ensure the backup procedure can access the backup password - name: ensure the backup procedure can access the backup password
template: template:
src: my.cnf src: my.cnf
dest: "/root/.mysql-{{mysql_backup_user}}.cnf" dest: "/root/.mysql-{{ mysql_backup_user }}.cnf"
owner: root owner: root
group: root group: root
mode: '0600' mode: '0600'
...@@ -70,4 +70,3 @@ ...@@ -70,4 +70,3 @@
file: file:
path: /etc/cron.d/mysql-snapshot path: /etc/cron.d/mysql-snapshot
state: absent state: absent
Supports Markdown
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