2023-09-25 08:40:20 +00:00
|
|
|
{# Updated: 2023-09-25 #}
|
|
|
|
# master: {{ common_mastering }}
|
|
|
|
# updated: {{ ansible_date_time.date }}
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Master Node Backups Mount
|
|
|
|
DefaultDependencies=yes
|
|
|
|
Conflicts=umount.target
|
|
|
|
Before=docker.service
|
|
|
|
After=systemd-networkd-wait-online@{{ ethernet_interface }}.service
|
|
|
|
|
|
|
|
[Mount]
|
|
|
|
What=//{{ vm_master_node_local }}/backups
|
|
|
|
Where=/opt/backups
|
|
|
|
Type=cifs
|
2023-12-05 17:12:35 +00:00
|
|
|
Options=defaults,_netdev,guest,exec,dir_mode=0775,file_mode=0664,uid=1000,gid=1000,vers=3.1.1
|
2023-09-25 08:40:20 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|