--- - name: apbase hosts: web become: yes tasks: - 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