mirror of
https://github.com/foo-dogsquared/ansible-playbooks.git
synced 2025-02-07 12:19:11 +00:00
15 lines
432 B
YAML
15 lines
432 B
YAML
![]() |
---
|
||
|
- name: Configure external storage device
|
||
|
ansible.posix.mount:
|
||
|
state: mounted
|
||
|
path: /mnt/external-storage
|
||
|
src: UUID=665A391C5A38EB07
|
||
|
fstype: ntfs
|
||
|
opts: nofail,noauto,user,x-systemd.automount,x-systemd.device-timeout=2,x-systemd.idle-timeout=2
|
||
|
|
||
|
- name: Add the borgmatic configuration
|
||
|
copy:
|
||
|
src: "{{ role_path }}/files/borgmatic.yml"
|
||
|
dest: /etc/borgmatic.d/external-storage.yaml
|
||
|
setype: etc_t
|