Compare commits

..

7 Commits

Author SHA1 Message Date
root
0ef79d9bf9 ajout de force-all dans dpkg 2021-01-12 16:18:21 +01:00
root
cd4ac6c12b ajout python3 par defaut 2021-01-12 15:50:34 +01:00
root
0021fdca7d modif pathresults 2021-01-12 15:29:24 +01:00
root
d8bc589637 Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-12 15:21:03 +01:00
tl
3cf9daf8cb modification des droits sur le repertoire fusioninventory 2021-01-12 15:16:32 +01:00
root
55c1b8cda0 Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-12 15:16:24 +01:00
Administrateur@gsb.lan
c96d7cdfcd commit delgsb.cmd 2021-01-12 15:01:10 +01:00
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