[home-nounous] install nfs-common

certbot_on_virtu
_benjamin 2020-07-19 18:04:59 +02:00 committed by shirenn
parent 391d855fa7
commit 2310a08594
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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