From 33529f27819d35a4b448b240cfca6500d048f218 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 30 Jan 2024 10:46:25 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20role=20zabbix-cli=20pour=20vm=20=C3=A0?= =?UTF-8?q?=20superviser=20&=20token=20=C3=A0=20jour=20avec=20BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- r-ext.yml | 4 +++- r-int.yml | 3 ++- s-adm.yml | 2 ++ s-backup.yml | 1 + s-infra.yml | 6 ++++-- s-itil.yml | 2 +- s-proxy.yml | 3 ++- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/r-ext.yml b/r-ext.yml index bafba8b..d863ba9 100644 --- a/r-ext.yml +++ b/r-ext.yml @@ -1,12 +1,14 @@ --- - hosts: localhost connection: local + become: yes + roles: - base - goss - r-ext - - snmp-agent + - zabbix-cli - ssh-cli # - syslog-cli - post diff --git a/r-int.yml b/r-int.yml index 5d8c2b6..56fe7c9 100644 --- a/r-int.yml +++ b/r-int.yml @@ -1,6 +1,7 @@ --- - hosts: localhost connection: local + become: yes roles: - base @@ -9,5 +10,5 @@ - ssh-cli # - syslog-cli - dhcp - - snmp-agent + - zabbix-cli - post diff --git a/s-adm.yml b/s-adm.yml index 7d8c179..897fa9c 100644 --- a/s-adm.yml +++ b/s-adm.yml @@ -1,6 +1,8 @@ --- - hosts: localhost connection: local + become: yes + roles: - base diff --git a/s-backup.yml b/s-backup.yml index 7425e0f..cadaae1 100644 --- a/s-backup.yml +++ b/s-backup.yml @@ -1,6 +1,7 @@ --- - hosts: localhost connection: local + become: yes vars: stork_db_user: "stork-server" stork_db_passwd: "Azerty1+" diff --git a/s-infra.yml b/s-infra.yml index 461339e..29ef666 100644 --- a/s-infra.yml +++ b/s-infra.yml @@ -1,11 +1,13 @@ --- - hosts: localhost connection: local + become: yes # include: config.yml + roles: - base - # - zabbix-cli - - goss + - zabbix-cli + - goss - dns-master - webautoconf # - elk-filebeat-cli diff --git a/s-itil.yml b/s-itil.yml index 4b1eb02..9231bf9 100644 --- a/s-itil.yml +++ b/s-itil.yml @@ -1,7 +1,7 @@ --- - hosts: localhost connection: local - + become: yes #vars: #glpi_version: "10.0.11" #glpi_dir: "/var/www/html/glpi" diff --git a/s-proxy.yml b/s-proxy.yml index 0a1f444..9f3af60 100644 --- a/s-proxy.yml +++ b/s-proxy.yml @@ -1,7 +1,8 @@ --- - hosts: localhost connection: local - + become: yes + roles: - base - goss