[home-nounous] install nfs-common
parent
391d855fa7
commit
2310a08594
|
@ -1,4 +1,14 @@
|
||||||
---
|
---
|
||||||
|
- name: Install NFS client
|
||||||
|
apt:
|
||||||
|
update_cache: true
|
||||||
|
name:
|
||||||
|
- nfs-common
|
||||||
|
state: present
|
||||||
|
register: apt_result
|
||||||
|
retries: 3
|
||||||
|
until: apt_result is succeeded
|
||||||
|
|
||||||
- name: Deploy nfs systemd mount
|
- name: Deploy nfs systemd mount
|
||||||
template:
|
template:
|
||||||
src: systemd/system/home.mount.j2
|
src: systemd/system/home.mount.j2
|
||||||
|
|
|
@ -5,7 +5,7 @@ Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Mount]
|
[Mount]
|
||||||
What=tealc.adm.crans.org:/pool/home
|
What=172.16.1.1:/pool/home
|
||||||
Where=/home
|
Where=/home
|
||||||
Type=nfs
|
Type=nfs
|
||||||
Options=rw,nosuid
|
Options=rw,nosuid
|
||||||
|
|
Loading…
Reference in New Issue