mise a jour playbook installation glpi

This commit is contained in:
root
2023-12-13 19:02:53 +01:00
parent fc7d4de480
commit db7640bd5c
14 changed files with 122 additions and 248 deletions

View File

@@ -1,44 +1,7 @@
---
- name: glpi.yml
hosts: glpi
become: yes
tasks:
- name: 1. Installer apache php
apt:
name:
- apache2
- php
state: present
#notify: 2. redémarrer apache et activer adminer
- name: 2. Installation des extensions php de GLPI
apt:
name:
- php-xml
- php-common
- php-mysql
- php-mbstring
- php-curl
- php-imap
- php-zip
- php-int1
- php-ldap
- php-xmlrpc
- php-imap
- php-bz2
state: present
notify: 3. redemarrer php
- name: 4. redémarrer apache et activer adminer
shell: sudo systemctl reload apache2
handlers:
- name: 3. redemarrer php
service:
name: php
state: restarted
---
- hosts: all
roles:
- web
- bdd
- install