diff --git a/sio2/sisr2/40-Ansible/web.yml b/sio2/sisr2/40-Ansible/web.yml new file mode 100644 index 0000000..a314ff3 --- /dev/null +++ b/sio2/sisr2/40-Ansible/web.yml @@ -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/