20 lines
486 B
Django/Jinja
20 lines
486 B
Django/Jinja
{# Updated: 2023-09-25 #}
|
|
# master: {{ common_mastering }}
|
|
# updated: {{ ansible_date_time.date }}
|
|
|
|
[Unit]
|
|
Description=Master Node Work Mount
|
|
DefaultDependencies=yes
|
|
Conflicts=umount.target
|
|
Before=docker.service
|
|
After=systemd-networkd-wait-online@{{ ethernet_interface }}.service
|
|
|
|
[Mount]
|
|
What=//{{ vm_master_node_local }}/work
|
|
Where=/opt/work
|
|
Type=cifs
|
|
Options=defaults,_netdev,guest,exec,dir_mode=0775,file_mode=0664,uid=1000,gid=1000,vers=3.1.1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|