Compare commits

..

3 Commits

Author SHA1 Message Date
18ba7d06e5 modif de l'ordre des droits rw 2021-01-11 08:24:37 +01:00
9998a1f91a commit s-backup 2021-01-11 08:10:23 +01:00
sio
ce810bf71e typo 2021-01-07 17:30:45 +01:00
5 changed files with 19 additions and 20 deletions

View File

@ -50,16 +50,6 @@
notify:
- restart icinga
- name: attribution des droits dossier icinga rw
file:
path: /var/lib/icinga/rw
owner: nagios
mode: 2710
recurse: yes
notify:
- restart icinga
- name: attribution des droits dossier icinga
file:
path: /var/lib/icinga
@ -70,20 +60,16 @@
- restart icinga
#- name: attribution des droits dossier var lib icinga
# shell: chmod 2770 /var/lib/icinga/rw
# notify:
# - stop icinga
- name: attribution des droits dossier var lib icinga
- name: attribution des droits dossier icinga rw
file:
path: /var/lib/icinga/rw
# owner: www-data
owner: nagios
mode: 2710
# recurse: yes
recurse: yes
notify:
- restart icinga
#- name: Changement droit notif
# shell: chmod 644 /var/log/icinga/icinga.log

View File

@ -0,0 +1,4 @@
depl_url: "http://s-adm.gsb.adm/gsbstorefusioninventory"
depl_glpi: "glpi-9.5.3.tgz"
depl_fusioninventory: "fusioninventory-9.5.0+1.0.tar.bz2"

View File

@ -59,7 +59,7 @@
- name: Installation de GLPI
unarchive:
src: {{ depl_url }}/{{depl_glpi}}
src: "{{ depl_url }}/{{ depl_glpi }}"
dest: /var/www/html
remote_src: yes
owner: www-data
@ -82,7 +82,7 @@
- name: Installation de Fusioninventory pour Linux
unarchive:
src: {{ depl_url }}/{{depl_fusioninventory}}
src: "{{ depl_url }}/{{ depl_fusioninventory }}"
#src: http://depl/gsbstore/fusioninventory-{{ fd_version }}.tar.bz2
dest: /var/www/html/glpi/plugins
remote_src: yes

View File

@ -0,0 +1,8 @@
---
- name: installation rsync et smbclient
apt:
name:
- rsync
- smbclient
state: present

View File

@ -9,3 +9,4 @@
# - ssh-cli
- syslog-cli
- post
- s-backup