ajout tp doku

This commit is contained in:
root
2023-10-20 11:01:22 +02:00
parent 365ac0717a
commit e88bb6e440
11 changed files with 83 additions and 0 deletions

20
sio2/SISR/Ansible/web.yml Normal file
View File

@@ -0,0 +1,20 @@
---
- name: web.yml
hosts: web
tasks:
- name: 1. installer apache2
apt :
name: apache2
state: present
- name: 2 installer php-mbstring
apt:
name: php-mbstring
state: present
- name: 3 assurer Apache tourne
service:
name: apache2
state: started
- name: 4 copier le fichier index.html vers /var/www/html
template:
src: index.html
dest: /var/www/html/