erreur yml dans role nlb-web
This commit is contained in:
parent
e328a1e13c
commit
b04ae4302b
@ -7,20 +7,20 @@
|
|||||||
- mariadb-client
|
- mariadb-client
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install nfs-common
|
- name: install nfs-common
|
||||||
apt:
|
apt:
|
||||||
name: nfs-common
|
name: nfs-common
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: montage nfs pour word press
|
- name: montage nfs pour word press
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/fstab
|
path: /etc/fstab
|
||||||
block: |
|
block: |
|
||||||
192.168.56.6:/exports/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0
|
192.168.56.6:/exports/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0
|
||||||
|
|
||||||
- name: monte export wordpress
|
- name: monte export wordpress
|
||||||
ansible.posix.mount:
|
ansible.posix.mount:
|
||||||
path: /var/www/html
|
path: /var/www/html
|
||||||
state: mounted
|
state: mounted
|
||||||
fstype: nfs
|
fstype: nfs
|
||||||
src: 192.168.56.6:/exports/wordpress
|
src: 192.168.56.6:/exports/wordpress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user