ajout script
This commit is contained in:
parent
df4d9a3573
commit
4425d39585
22
sio2/sisr2/40-Ansible/web.yml
Normal file
22
sio2/sisr2/40-Ansible/web.yml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: mon playbook
|
||||
hosts: web
|
||||
tasks:
|
||||
|
||||
- name: installation apache2
|
||||
apt :
|
||||
name: apache2
|
||||
state: present
|
||||
- name: installation php
|
||||
apt :
|
||||
name: php
|
||||
state: present
|
||||
- name: installation php-mbstring
|
||||
apt :
|
||||
name: php-mbstring
|
||||
state: present
|
||||
|
||||
- name: Copie index.html
|
||||
copy:
|
||||
src: index.html
|
||||
dest: /var/www/html/
|
Loading…
x
Reference in New Issue
Block a user