Ajout du tp ansible

This commit is contained in:
Yann Lereuille
2025-11-13 18:03:29 +01:00
parent a1e253ba26
commit 3ecc7adfe2
10 changed files with 18418 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
- hosts: all
tasks:
- name: install apache2
apt:
name:
- apache2
- php
- php-mbstring
update_cache: yes
state: latest
- name: insertion index.html dans /var/www/html
ansible.builtin.copy:
src: index.html
dest: /var/www/html/
mode: 0664