homelab/ansible/group_vars/VPS/mount

29 lines
736 B
Plaintext
Raw Permalink Normal View History

systemd_mounts:
diskstation_nomad:
2023-12-23 09:58:45 +00:00
share: "{{ nas_ip }}:{{ env_default_nfs_path }}/nomad"
mount: /mnt/diskstation/nomad
type: nfs
options:
2024-09-29 15:50:11 +00:00
- "vers=4"
2023-12-23 09:58:45 +00:00
automount: "{{ env_automount }}"
enabled: true
hetzner_storage:
share: //u304977.your-storagebox.de/backup
mount: /mnt/hetzner/storagebox
type: cifs
options:
- credentials=/etc/creds/hetzner_credentials
2024-02-04 20:16:59 +00:00
- uid=100001
- gid=10
- vers=3.0
- mfsymlinks
2023-12-23 09:58:45 +00:00
automount: "{{ env_automount }}"
enabled: true
2023-12-23 09:58:45 +00:00
credentials_files:
1:
type: smb
path: /etc/creds/hetzner_credentials
username: u304977
password: "{{ lookup('hashi_vault','secret=secrets/data/ansible/storage:hetzner') }}"