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: lineinfile:
path: /etc/default/automysqlbackup path: /etc/default/automysqlbackup
regexp: '^#POSTBACKUP=' regexp: '^#POSTBACKUP='
line: POSTBACKUP="{{ scripts_path }}/automysqlbackup_post_script" line: POSTBACKUP="{{ local_scripts_dir }}/automysqlbackup_post_script"
- name: "mariab: Prüfe scripts-Verzeichnis" - name: "mariab: Prüfe scripts-Verzeichnis"
file: file:
path: "{{ scripts_path }}" path: "{{ local_scripts_dir }}"
state: touch state: touch
changed_when: false changed_when: false
- name: "mariadb: Erstelle scripts-Verzeichnis" - name: "mariadb: Erstelle scripts-Verzeichnis"
file: file:
path: "{{ scripts_path }}" path: "{{ local_scripts_dir }}"
state: directory state: directory
- name: "mariadb: Richte Backup ein 2" - name: "mariadb: Richte Backup ein 2"
copy: copy:
src: automysqlbackup_post_script src: automysqlbackup_post_script
dest: "{{ scripts_path }}/automysqlbackup_post_script" dest: "{{ local_scripts_dir }}/automysqlbackup_post_script"
mode: 0755 mode: 0755