## 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 }}"