ajout script

This commit is contained in:
johan.largy 2022-10-10 10:34:14 +02:00
parent df4d9a3573
commit 4425d39585

View 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/