45-ansible/

This commit is contained in:
raphanaud
2021-10-13 11:55:05 +02:00
parent 5691bc4e42
commit 61df4cf638
6 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
- 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/