normalement ça marche
This commit is contained in:
parent
4490b84c15
commit
a7a9752aa0
@ -10,4 +10,4 @@
|
||||
dest: /etc/fstab
|
||||
regexp: ''
|
||||
insertafter: EOF
|
||||
line: '192.168.102.253:/home/wordpress /var/www/html/wordpress nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0'
|
||||
line: '192.168.102.253:/home/ /var/www/html/wordpress nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0'
|
||||
|
@ -60,7 +60,7 @@
|
||||
replace:
|
||||
path: /home/wordpress/wp-config.php
|
||||
regexp: "localhost"
|
||||
replace: "192.168.102.253"
|
||||
replace: "192.168.102.254"
|
||||
backup: yes
|
||||
|
||||
- name: 55 - relance nfs
|
||||
|
@ -18,7 +18,7 @@
|
||||
blockinfile:
|
||||
path: /etc/fstab
|
||||
block: |
|
||||
192.168.102.253:/exports/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0
|
||||
192.168.102.253:/home/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0
|
||||
|
||||
#- name: monte export wordpress
|
||||
# ansible.posix.mount:
|
||||
|
Loading…
x
Reference in New Issue
Block a user