mise a jour playbook installation glpi
This commit is contained in:
6
sio2/AP4/roles/web/handlers/main.yml
Normal file
6
sio2/AP4/roles/web/handlers/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: restart apache2
|
||||
service:
|
||||
name: apache2
|
||||
state: restarted
|
||||
|
30
sio2/AP4/roles/web/tasks/main.yml
Normal file
30
sio2/AP4/roles/web/tasks/main.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
- name: 1. Installer apache php
|
||||
apt:
|
||||
name:
|
||||
- apache2
|
||||
- php
|
||||
- curl
|
||||
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-json
|
||||
- php-mysql
|
||||
- php-mbstring
|
||||
- php-curl
|
||||
- php-gd
|
||||
- php-intl
|
||||
- php-imap
|
||||
- php-apcu
|
||||
- php-zip
|
||||
- php-xmlrpc
|
||||
- php-bz2
|
||||
- php-ldap
|
||||
state: present
|
||||
notify:
|
||||
- restart apache2
|
Reference in New Issue
Block a user