templier-ansible/roles/home/templates/systemd/system/home.mount.j2
Yohann D'ANELLO 3fedc63db3
Mount home directories
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-05-24 20:51:07 +02:00

15 lines
244 B
Django/Jinja

{{ ansible_header | comment }}
[Unit]
Description=Mount home
Wants=network-online.target
After=network-online.target
[Mount]
What={{ home.ip }}:{{ home.mountpoint }}
Where=/home
Type=nfs
Options=rw,nosuid
[Install]
WantedBy=multi-user.target