diff --git a/roles/glpi/tasks/main.yml b/roles/glpi/tasks/main.yml index 33ca2d2..8a8d38a 100644 --- a/roles/glpi/tasks/main.yml +++ b/roles/glpi/tasks/main.yml @@ -139,7 +139,7 @@ - restart nginx - name: lancer la commande de création de la base de donnees glpi - ansible.builtin.shell: php bin/console database:install -f -n + ansible.builtin.shell: "php bin/console database:install --reconfigure --db-name {{ glpi_dbname }} --db-user {{ glpi_dbuser }} --db-password {{ glpi_dbpasswd }} -f -n" args: chdir: "{{ glpi_dir }}"