Improve stuff a bit
This commit is contained in:
parent
be3c610bd4
commit
3354ce607d
4 changed files with 8 additions and 7 deletions
roles/backup/tasks
|
@ -9,11 +9,9 @@
|
|||
mode: "0755"
|
||||
- name: Copy the hooks
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item }}"
|
||||
src: hooks/
|
||||
dest: "{{ hooks_path }}"
|
||||
mode: "0755"
|
||||
with_fileglob:
|
||||
- "hooks/*"
|
||||
- name: Create the from directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ ('/opt/services/_backup', item | basename) | path_join }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue