From a2e4e13f0e2861ac44276708646ecc57ea1bc8a5 Mon Sep 17 00:00:00 2001 From: Alhassane Kone Date: Fri, 24 Nov 2023 15:34:30 +0100 Subject: [PATCH] encore une maj --- sio2/AP/apbase.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/sio2/AP/apbase.yml b/sio2/AP/apbase.yml index e349d14..ffe00c3 100644 --- a/sio2/AP/apbase.yml +++ b/sio2/AP/apbase.yml @@ -1,14 +1,25 @@ --- - name: apbase hosts: web + become: yes tasks: - - name: Installer les paquets apache2 php et adminer - apt: - name: - - apache2 - - php - - adminer - - php-mbstring - state: present + - name: 1. Installer les paquets apache2 php et adminer + apt: + name: + - apache2 + - php + - adminer + - php-mbstring + state: present + #notify: 2. redémarrer apache et activer adminer + + - name: 2. redémarrer apache et activer adminer + shell: sudo a2enconf adminer + + - name: 3. redémarrer apache et activer adminer + shell: sudo systemctl reload apache2 + + +