diff --git a/tasks/mariadb.yml b/tasks/mariadb.yml index 4f64184..8a752c0 100644 --- a/tasks/mariadb.yml +++ b/tasks/mariadb.yml @@ -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