marche stp

This commit is contained in:
Elam Monnot 2023-01-31 08:10:32 +01:00
parent e1323f22b8
commit 3cbae83a73

View File

@ -1,4 +1,3 @@
---
- name:
- apache2
- php
@ -16,11 +15,11 @@
blockinfile:
path: /etc/fstab
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.102.253:/exports/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0
- name: monte export wordpress
ansible.posix.mount:
path: /var/www/html
state: mounted
fstype: nfs
src: 192.168.56.6:/exports/wordpress
src: 192.168.102.253:/exports/wordpress