linderhof/roles/restic/tasks/backend.yml

13 lines
288 B
YAML
Raw Normal View History

---
- name: Ensure restic local repo directory exists
file:
path: "{{ restic_repo }}"
state: directory
owner: root
group: root
mode: "0700"
when: restic_repo is defined and restic_repo.startswith('/') # only local path
- ansible.builtin.include_tasks: init.yml