misc/backup_files: Use backup_name for name of tasks

dehydrated
Felix Stupp 5 years ago
parent d1e14a9de9
commit ddc1da5c3c
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,6 +1,6 @@
--- ---
- name: Create directory for backups for files of {{ domain }} - name: Create directory for backups for files of {{ backup_name }}
file: file:
state: directory state: directory
path: "{{ backup_target }}" path: "{{ backup_target }}"
@ -8,7 +8,7 @@
group: root group: root
mode: "u=rwx,g=rx,o=rx" mode: "u=rwx,g=rx,o=rx"
- name: Install auto backup script for files of {{ domain }} - name: Install auto backup script for files of {{ backup_name }}
template: template:
src: "backup.sh" src: "backup.sh"
dest: "{{ backup_script }}" dest: "{{ backup_script }}"
@ -16,7 +16,7 @@
group: root group: root
mode: "u=rwx,g=rx,o=r" mode: "u=rwx,g=rx,o=r"
- name: Configure auto backup files of {{ domain }} - name: Configure auto backup files of {{ backup_name }}
cron: cron:
hour: 1 hour: 1
minute: 0 minute: 0

Loading…
Cancel
Save