homeserver/roles/mgrote.restic/tasks/folders.yml

16 lines
314 B
YAML
Raw Normal View History

---
- name: create /etc/restic
become: yes
ansible.builtin.file:
path: /etc/restic
state: directory
- name: create restic mount-directory
become: yes
ansible.builtin.file:
path: "{{ restic_mount }}"
state: directory
owner: root
group: root
mode: 0777