Benenne Variable um

This commit is contained in:
phil 2021-07-28 11:06:27 +02:00
parent 9e20a502d3
commit 3e6d2e525f

View file

@ -3,21 +3,21 @@
lineinfile:
path: /etc/default/automysqlbackup
regexp: '^#POSTBACKUP='
line: POSTBACKUP="{{ scripts_path }}/automysqlbackup_post_script"
line: POSTBACKUP="{{ local_scripts_dir }}/automysqlbackup_post_script"
- name: "mariab: Prüfe scripts-Verzeichnis"
file:
path: "{{ scripts_path }}"
path: "{{ local_scripts_dir }}"
state: touch
changed_when: false
- name: "mariadb: Erstelle scripts-Verzeichnis"
file:
path: "{{ scripts_path }}"
path: "{{ local_scripts_dir }}"
state: directory
- name: "mariadb: Richte Backup ein 2"
copy:
src: automysqlbackup_post_script
dest: "{{ scripts_path }}/automysqlbackup_post_script"
dest: "{{ local_scripts_dir }}/automysqlbackup_post_script"
mode: 0755