You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
430 B
YAML
16 lines
430 B
YAML
## The playbook first runs the 'backup.yml' from each role
|
|
- name: create the /backup-dirs file
|
|
file:
|
|
path: "/backup-dirs"
|
|
state: "touch"
|
|
mode: "0400"
|
|
changed_when: "true" # we always want ti give roles a chance to register dirs
|
|
|
|
- ansible.builtin.lineinfile:
|
|
path: "/backup-dirs"
|
|
line: "{{ mailcow_storage_dir }}"
|
|
|
|
- ansible.builtin.lineinfile:
|
|
path: "/backup-dirs"
|
|
line: "{{ mailcow_repo_dir }}"
|