itil utilisation depl

This commit is contained in:
sio 2021-01-07 17:24:35 +01:00
parent ad2a36783b
commit 04e893f1ee

View File

@ -51,11 +51,15 @@
priv=*.*:ALL priv=*.*:ALL
- name: Creation du repertoire {{ glpi_dir }} - name: Creation du repertoire {{ glpi_dir }}
file: path={{ glpi_dir }} state=directory owner=www-data group=www-data file:
path: "{{ glpi_dir }}"
state: directory
owner: www-data
group: www-data
- name: Installation de GLPI - name: Installation de GLPI
unarchive: unarchive:
src: http://depl/gsbstore/glpi-{{ glpi_version }}.tgz src: {{ depl_url }}/{{depl_glpi}}
dest: /var/www/html dest: /var/www/html
remote_src: yes remote_src: yes
owner: www-data owner: www-data
@ -78,7 +82,8 @@
- name: Installation de Fusioninventory pour Linux - name: Installation de Fusioninventory pour Linux
unarchive: unarchive:
src: http://depl/gsbstore/fusioninventory-{{ fd_version }}.tar.bz2 src: {{ depl_url }}/{{depl_fusioninventory}}
#src: http://depl/gsbstore/fusioninventory-{{ fd_version }}.tar.bz2
dest: /var/www/html/glpi/plugins dest: /var/www/html/glpi/plugins
remote_src: yes remote_src: yes