Changement des droits sur /plugins/fusioninventory

This commit is contained in:
bb 2021-01-12 16:16:04 +01:00
parent cd4ac6c12b
commit 96cb377d9b
2 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
depl_url: "http://s-adm.gsb.adm/gsbstore"
depl_url: "http://s-adm.gsb.adm/gsbstore/"
depl_glpi: "glpi-9.5.3.tgz"
depl_fusioninventory: "fusioninventory-9.5.0+1.0.tar.bz2"
depl_fusioninventory_agentx64: "fusioninventory-agent_windows-x64_2.6.exe"

View File

@ -84,6 +84,8 @@
file:
path: "{{ glpi_dir }}/plugins"
mode: 0777
owner: www-data
group: www-data
recurse: yes
- name: Attribution des permissions
@ -98,12 +100,6 @@
#src: http://depl/gsbstore/fusioninventory-{{ fd_version }}.tar.bz2
dest: /var/www/html/glpi/plugins
remote_src: yes
file:
path: /var/www/html/glpi/plugins/fusioninventory
state: directory
owner: www-data
group: www-data
mode: 0775
- name: Creation de ficlient
file:
@ -130,6 +126,14 @@
url: "{{ depl_url }}/{{ depl_fusioninventory_agentx86 }}"
dest: "/var/www/html/ficlients"
- name: Attribution des permissions sur repertoire /plugins/fusioninventory
file:
path: /var/www/html/glpi/plugins/fusioninventory
owner: www-data
group: www-data
recurse: yes
state: directory
- name: Copie du script dbdump
copy: src=dbdump dest=/root/