marche stp
This commit is contained in:
parent
0dbbaf0751
commit
038e41dd40
@ -1,10 +1,26 @@
|
|||||||
---
|
---
|
||||||
- name: installation php et apache ...
|
- name:
|
||||||
apt:
|
- apache2
|
||||||
name:
|
- php
|
||||||
- apache2
|
- php-mbstring
|
||||||
- php
|
- php-mysql
|
||||||
- php-mbstring
|
- mariadb-client
|
||||||
- php-mysql
|
state: present
|
||||||
- mariadb-client
|
|
||||||
state: present
|
- name: install nfs-common
|
||||||
|
apt:
|
||||||
|
name: nfs-common
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: montage nfs pour word press
|
||||||
|
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
|
||||||
|
|
||||||
|
- name: monte export wordpress
|
||||||
|
ansible.posix.mount:
|
||||||
|
path: /var/www/html
|
||||||
|
state: mounted
|
||||||
|
fstype: nfs
|
||||||
|
src: 192.168.56.6:/exports/wordpress
|
||||||
|
@ -6,5 +6,4 @@
|
|||||||
- base
|
- base
|
||||||
- lb-web
|
- lb-web
|
||||||
- snmp-agent
|
- snmp-agent
|
||||||
- lb-nfs-client
|
|
||||||
- post
|
- post
|
||||||
|
@ -6,5 +6,4 @@
|
|||||||
- base
|
- base
|
||||||
- lb-web
|
- lb-web
|
||||||
- snmp-agent
|
- snmp-agent
|
||||||
- lb-nfs-client
|
|
||||||
- post
|
- post
|
||||||
|
Loading…
x
Reference in New Issue
Block a user