From 45336c1771da132b45eda65873d7d126c191c767 Mon Sep 17 00:00:00 2001 From: "alhassane.kone" Date: Tue, 28 May 2024 19:09:34 +0200 Subject: [PATCH] Actualiser install.yml --- install.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/install.yml b/install.yml index c15d844..5211309 100644 --- a/install.yml +++ b/install.yml @@ -5,4 +5,16 @@ - name: 1. installe Apache apt: name: apache2 - state: present \ No newline at end of file + state: present + + - name: Copier le fichier HTML vers le répertoire du serveur web + copy: + src: index.html + dest: /var/www/html/index.html + mode: '0644' + + - name: S'assurer que le service Apache est démarré + service: + name: apache2 + state: started + enabled: yes \ No newline at end of file