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 + + +