Compare commits
5 Commits
v0.4.c-tva
...
v0.4.e-tvi
Author | SHA1 | Date | |
---|---|---|---|
0021fdca7d | |||
d8bc589637 | |||
3cf9daf8cb | |||
55c1b8cda0 | |||
56cd0c515b |
@ -55,20 +55,45 @@
|
|||||||
path: /var/lib/icinga
|
path: /var/lib/icinga
|
||||||
owner: nagios
|
owner: nagios
|
||||||
mode: 751
|
mode: 751
|
||||||
recurse: yes
|
recurse: yes
|
||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
|
- name: attribution des droits dossier icinga rw
|
||||||
- name: attribution des droits dossier icinga rw
|
|
||||||
file:
|
file:
|
||||||
path: /var/lib/icinga/rw
|
path: /var/lib/icinga/rw
|
||||||
owner: nagios
|
owner: nagios
|
||||||
mode: 2710
|
mode: 2710
|
||||||
recurse: yes
|
recurse: yes
|
||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
|
- name: activation des commandes externes
|
||||||
|
replace:
|
||||||
|
dest: /etc/icinga/icinga.cfg
|
||||||
|
regexp: 'check_external_commands=0'
|
||||||
|
replace: 'check_external_commands=1'
|
||||||
|
notify:
|
||||||
|
- restart icinga
|
||||||
|
|
||||||
|
- name: reconfiguration des droits avec dpkg statoverride
|
||||||
|
shell: dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw
|
||||||
|
|
||||||
|
- name: reconfiguration des droits avec dpkg statoverride
|
||||||
|
shell: dpkg-statoverride --update --add nagios nagios 751 /var/lib/icinga
|
||||||
|
|
||||||
|
- name: suppression de checkresults
|
||||||
|
file:
|
||||||
|
path: /var/lib/icinga/spool/checkresults
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: creation du dossier checkresults avec droits de lecture
|
||||||
|
file:
|
||||||
|
path: /var/lib/icinga/spool/checkresults
|
||||||
|
state: directory
|
||||||
|
owner: nagios
|
||||||
|
group: root
|
||||||
|
mode: '755'
|
||||||
|
|
||||||
#- name: Changement droit notif
|
#- name: Changement droit notif
|
||||||
# shell: chmod 644 /var/log/icinga/icinga.log
|
# shell: chmod 644 /var/log/icinga/icinga.log
|
||||||
|
@ -98,6 +98,12 @@
|
|||||||
#src: http://depl/gsbstore/fusioninventory-{{ fd_version }}.tar.bz2
|
#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
|
||||||
|
file:
|
||||||
|
path: /var/www/html/glpi/plugins/fusioninventory
|
||||||
|
state: directory
|
||||||
|
owner: www-data
|
||||||
|
group: www-data
|
||||||
|
mode: 0775
|
||||||
|
|
||||||
- name: Creation de ficlient
|
- name: Creation de ficlient
|
||||||
file:
|
file:
|
||||||
|
Reference in New Issue
Block a user