Compare commits

..

2 Commits

Author SHA1 Message Date
aadc552dc3 role lb-web 2023-01-31 08:21:05 +01:00
3cbae83a73 marche stp 2023-01-31 08:10:32 +01:00

View File

@ -1,5 +1,6 @@
--- ---
- name: - name: installation des paquets web
apt:
- apache2 - apache2
- php - php
- php-mbstring - php-mbstring
@ -16,11 +17,11 @@
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.102.253:/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.102.253:/exports/wordpress