Compare commits

...

7 Commits

3 changed files with 20 additions and 3 deletions

View File

@ -32,6 +32,13 @@
backup : yes
notify:
- restart icinga
- name: python3 par defaut
alternatives:
link: /usr/bin/python
name: python
path: /usr/bin/python3
priority: 10
- name: Changement de mot de passe de icingaadmin
htpasswd:
@ -77,10 +84,10 @@
- restart icinga
- name: reconfiguration des droits avec dpkg statoverride
shell: dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw
shell: dpkg-statoverride --update --force-all --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
shell: dpkg-statoverride --update --force-all --add nagios nagios 751 /var/lib/icinga
- name: suppression de checkresults
file:
@ -89,7 +96,7 @@
- name: creation du dossier checkresults avec droits de lecture
file:
path:/var/lib/icinga/spool/checkresults
path: /var/lib/icinga/spool/checkresults
state: directory
owner: nagios
group: root

View File

@ -98,6 +98,12 @@
#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:

View File

@ -0,0 +1,4 @@
rem azazazaz
rmdir C:\gsb.lan /s /q
net group g-compta /del
net group g-prod /del