From 3e6d2e525fdc8335290cfc8d18d6fba37c8a75f5 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 28 Jul 2021 11:06:27 +0200 Subject: [PATCH] Benenne Variable um --- tasks/mariadb.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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