Ajout du tp ansible

This commit is contained in:
2025-11-13 14:56:33 +01:00
parent c7699038a7
commit ae750c11f7
9 changed files with 18455 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
- hosts: all
tasks:
- name: install apache2
apt:
name:
- apache2
- php
- php-mbstring
update_cache: yes
state: present
- name: insert index.html
copy:
src: index.html
dest: /var/www/html/
mode: 0664