Compare commits

..

2 Commits

Author SHA1 Message Date
sio user
30c7275ba6 filebeat... 2024-01-30 11:25:20 +01:00
root
33529f2781 ajout role zabbix-cli pour vm à superviser & token à jour avec BD 2024-01-30 10:48:57 +01:00
8 changed files with 27 additions and 6 deletions

View File

@@ -1,12 +1,14 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
roles: roles:
- base - base
- goss - goss
- r-ext - r-ext
- snmp-agent - zabbix-cli
- ssh-cli - ssh-cli
# - syslog-cli # - syslog-cli
- post - post

View File

@@ -1,6 +1,7 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
roles: roles:
- base - base
@@ -9,5 +10,5 @@
- ssh-cli - ssh-cli
# - syslog-cli # - syslog-cli
- dhcp - dhcp
- snmp-agent - zabbix-cli
- post - post

View File

@@ -8,6 +8,7 @@
apt: apt:
deb: "/tmp/filebeat-{{ BEATVER }}-amd64.deb" deb: "/tmp/filebeat-{{ BEATVER }}-amd64.deb"
<<<<<<< HEAD
- name: Chgt filebeat.yml - localhost:9200 - Elastic - name: Chgt filebeat.yml - localhost:9200 - Elastic
replace: replace:
path: /etc/filebeat/filebeat.yml path: /etc/filebeat/filebeat.yml
@@ -34,6 +35,17 @@
# copy: # copy:
# src: filebeat.yml # src: filebeat.yml
# dest: /etc/filebeat/filebeat.yml # dest: /etc/filebeat/filebeat.yml
=======
- name: sorie pou debug
fail:
msg: "packet installe"
- name: Changement du fichier de conf
copy:
src: filebeat.yml
dest: /etc/filebeat/filebeat.yml
>>>>>>> d16ccae (maj pour elk-filebeat-cli)
- name: Configuration de filebeat - name: Configuration de filebeat
shell: filebeat modules enable system shell: filebeat modules enable system

View File

@@ -1,6 +1,8 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
roles: roles:
- base - base

View File

@@ -1,6 +1,7 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
vars: vars:
stork_db_user: "stork-server" stork_db_user: "stork-server"
stork_db_passwd: "Azerty1+" stork_db_passwd: "Azerty1+"

View File

@@ -1,11 +1,13 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
# include: config.yml # include: config.yml
roles: roles:
- base - base
# - zabbix-cli - zabbix-cli
- goss - goss
- dns-master - dns-master
- webautoconf - webautoconf
# - elk-filebeat-cli # - elk-filebeat-cli

View File

@@ -1,7 +1,7 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
#vars: #vars:
#glpi_version: "10.0.11" #glpi_version: "10.0.11"
#glpi_dir: "/var/www/html/glpi" #glpi_dir: "/var/www/html/glpi"

View File

@@ -1,7 +1,8 @@
--- ---
- hosts: localhost - hosts: localhost
connection: local connection: local
become: yes
roles: roles:
- base - base
- goss - goss