modification roles glpi
This commit is contained in:
parent
ac1d2756bd
commit
efcbd3d0cf
@ -4,7 +4,6 @@ depl_url: "http://s-adm.gsb.adm/gsbstore"
|
||||
depl_glpi: "glpi-10.0.11.tgz"
|
||||
#depl_fusioninventory: "fusioninventory-9.5+3.0.tar.bz2"
|
||||
depl_glpi_agentx64: "GLPI-Agent-1.7-x64.msi"
|
||||
depl_glpi_agentx86: "GLPI-Agent-1.4-x86.msi"
|
||||
|
||||
#variables glpi
|
||||
glpi_version: "10.0.11"
|
||||
|
@ -1,4 +0,0 @@
|
||||
##!/bin/sh
|
||||
#chm="/var/www/html/glpi/files/_dumps"
|
||||
# Dump base GLPI
|
||||
#mysqldump -uroot -proot glpi |gzip > $chm/$(date +%Y-%m-%d).sql.gz
|
@ -41,6 +41,9 @@
|
||||
src: block.j2
|
||||
dest: /etc/nginx/sites-enabled/glpi
|
||||
|
||||
notify:
|
||||
- restart nginx
|
||||
|
||||
- name: Remplacement dans le fichier de conf php du timeout
|
||||
replace:
|
||||
dest: /etc/php/8.2/fpm/php.ini
|
||||
@ -132,23 +135,11 @@
|
||||
url: "{{ depl_url }}/{{ depl_glpi_agentx64 }}"
|
||||
dest: "{{ glpi_cli }}"
|
||||
|
||||
# - name: Installation de GLPI Agent windows x86
|
||||
# get_url:
|
||||
# url: "{{ depl_url }}/{{ depl_glpi_agentx86 }}"
|
||||
# dest: "/var/www/html/ficlients"
|
||||
|
||||
# - name: Copie du script dbdump
|
||||
#copy:
|
||||
#src: dbdump
|
||||
#dest: /root/
|
||||
|
||||
#- name: chmod de dbdump
|
||||
#shell: chmod +x /root/dbdump
|
||||
# - name: initialisation de la base de données de glpi
|
||||
# command: chdir= {{ glpi_dir }}
|
||||
notify:
|
||||
- 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 -f -n
|
||||
args:
|
||||
chdir: "{{ glpi_dir }}"
|
||||
|
||||
|
@ -16,7 +16,7 @@ server {
|
||||
fastcgi_param SERVER_NAME $host;
|
||||
}
|
||||
|
||||
location /ficlients {
|
||||
location /glpicli {
|
||||
root /var/www/html;
|
||||
autoindex on;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user