20 lines
495 B
Django/Jinja
20 lines
495 B
Django/Jinja
{# Updated: 2023-09-25 #}
|
|
# master: {{ common_mastering }}
|
|
# updated: {{ ansible_date_time.date }}
|
|
|
|
[Unit]
|
|
Description=Master Node Scripts Mount
|
|
DefaultDependencies=yes
|
|
Conflicts=umount.target
|
|
Before=docker.service
|
|
After=systemd-networkd-wait-online@{{ ethernet_interface }}.service
|
|
|
|
[Mount]
|
|
What=//{{ vm_master_node_local }}/scripts
|
|
Where=/opt/scripts
|
|
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
|