Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
596ceda13c | |||
7f47454ebf | |||
c478e22273 | |||
4d23d1a720 | |||
18ba7d06e5 |
@ -6,7 +6,7 @@
|
|||||||
- snmp
|
- snmp
|
||||||
- icinga
|
- icinga
|
||||||
- nagios-snmp-plugins
|
- nagios-snmp-plugins
|
||||||
- python-passlib
|
- python3-passlib
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Copie de fichier icinga.conf pour apache
|
- name: Copie de fichier icinga.conf pour apache
|
||||||
@ -50,16 +50,6 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- 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
|
- name: attribution des droits dossier icinga
|
||||||
file:
|
file:
|
||||||
path: /var/lib/icinga
|
path: /var/lib/icinga
|
||||||
@ -70,20 +60,16 @@
|
|||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
|
|
||||||
#- name: attribution des droits dossier var lib icinga
|
- name: attribution des droits dossier icinga rw
|
||||||
# shell: chmod 2770 /var/lib/icinga/rw
|
|
||||||
# notify:
|
|
||||||
# - stop icinga
|
|
||||||
|
|
||||||
- name: attribution des droits dossier var lib icinga
|
|
||||||
file:
|
file:
|
||||||
path: /var/lib/icinga/rw
|
path: /var/lib/icinga/rw
|
||||||
# owner: www-data
|
owner: nagios
|
||||||
mode: 2710
|
mode: 2710
|
||||||
# recurse: yes
|
recurse: yes
|
||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
|
|
||||||
#- name: Changement droit notif
|
#- name: Changement droit notif
|
||||||
# shell: chmod 644 /var/log/icinga/icinga.log
|
# shell: chmod 644 /var/log/icinga/icinga.log
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
depl_url: "http://s-adm.gsb.adm/gsbstorefusioninventory"
|
depl_url: "http://s-adm.gsb.adm/gsbstore/"
|
||||||
depl_glpi: "glpi-9.5.3.tgz"
|
depl_glpi: "glpi-9.5.3.tgz"
|
||||||
depl_fusioninventory: "fusioninventory-9.5.0+1.0.tar.bz2"
|
depl_fusioninventory: "fusioninventory-9.5.0+1.0.tar.bz2"
|
||||||
|
|
||||||
|
@ -53,8 +53,12 @@
|
|||||||
mysql_user:
|
mysql_user:
|
||||||
name: "{{ glpi_dbuser }}"
|
name: "{{ glpi_dbuser }}"
|
||||||
password: "{{ glpi_dbpasswd }}"
|
password: "{{ glpi_dbpasswd }}"
|
||||||
priv: '*.*:ALL,GRANT'
|
priv: "*.*:ALL,GRANT"
|
||||||
login_unix_socket: /var/run/mysqld/mysqld.sock
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
|
with_items:
|
||||||
|
- 127.0.0.1
|
||||||
|
# - ::1
|
||||||
|
# - localhost
|
||||||
|
|
||||||
- name: Creation du repertoire {{ glpi_dir }}
|
- name: Creation du repertoire {{ glpi_dir }}
|
||||||
file:
|
file:
|
||||||
|
Reference in New Issue
Block a user