2023-01-25 17:02:39 +01:00

14 lines
342 B
YAML

---
- name: installation des paquets
apt:
name:
- nfs-common
state: latest
- name: ajout du montage automatique dans fstab
lineinfile:
dest: /etc/fstab
regexp: ''
insertafter: EOF
line: '192.168.102.253:/home/wordpress /var/www/html/ nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0'