ansible/roles/common/templates/opt_work_mount.j2

20 lines
475 B
Plaintext
Raw Normal View History

2023-09-25 08:40:20 +00:00
{# 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
[Install]
WantedBy=multi-user.target