forked from gadmin/gsb2023
normalement ça marche
This commit is contained in:
parent
4490b84c15
commit
a7a9752aa0
@ -10,4 +10,4 @@
|
|||||||
dest: /etc/fstab
|
dest: /etc/fstab
|
||||||
regexp: ''
|
regexp: ''
|
||||||
insertafter: EOF
|
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:
|
replace:
|
||||||
path: /home/wordpress/wp-config.php
|
path: /home/wordpress/wp-config.php
|
||||||
regexp: "localhost"
|
regexp: "localhost"
|
||||||
replace: "192.168.102.253"
|
replace: "192.168.102.254"
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
- name: 55 - relance nfs
|
- name: 55 - relance nfs
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/fstab
|
path: /etc/fstab
|
||||||
block: |
|
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
|
#- name: monte export wordpress
|
||||||
# ansible.posix.mount:
|
# ansible.posix.mount:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user