homeserver/roles/mgrote.restic/tasks/dir.yml
mg ffd264e3ec Script user für restic erstellt (#260)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#260
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-09 10:06:37 +01:00

15 lines
350 B
YAML

---
- 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: "{{ restic_user }}"
group: "{{ restic_user_group }}"
mode: 0755