Fix lint warnings, Translate tasks names

This commit is contained in:
phil 2023-02-07 19:31:08 +01:00
parent 33045b05d1
commit 39b9ffa525

View file

@ -1,12 +1,12 @@
---
- name: "backup | automysqlbackup - Definiere Postbackup-Skript"
lineinfile:
- name: "Backup | Set automysqlbackup postbackup script"
ansible.builtin.lineinfile:
path: /etc/default/automysqlbackup
regexp: '^#POSTBACKUP='
line: POSTBACKUP="{{ local_scripts_dir }}/automysqlbackup_post_script"
- name: "backup | automysqlbackup - Definiere Backupdir"
lineinfile:
- name: "Backup | Dest automysqlbackup backupdir"
ansible.builtin.lineinfile:
path: /etc/default/automysqlbackup
regexp: '^BACKUPDIR='
line: 'BACKUPDIR="{{ automysqlbackup_backupdir|default("/var/lib/automysqlbackup") }}"'
@ -17,8 +17,8 @@
state: touch
changed_when: false
- name: "backup | Kopiere automysqlbackup-Postscript"
copy:
- name: "Backup | Copy automysqlbackup postbackup script"
ansible.builtin.copy:
src: automysqlbackup_post_script
dest: "{{ local_scripts_dir }}/"
mode: 0755