forked from infra/ansible
Zabbix: role/OS vars won't work in other roles, use a hostvar instead
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
9cad3bf76c
commit
5ec7103314
7 changed files with 2 additions and 10 deletions
|
|
@ -333,6 +333,7 @@ zabbix_httpapi_use_ssl: true
|
|||
zabbix_httpapi_validate_certs: false
|
||||
zabbix_url_path: "" # If Zabbix WebUI runs on non-default (zabbix) path ,e.g. http://<FQDN>/zabbixeu
|
||||
# Zabbix agent vars
|
||||
zabbix_agentd: /etc/zabbix_agentd.conf # Needed for zabbix_sender in other roles
|
||||
zabbix_host: "zabbix01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
||||
zabbix_tls_psk_identity: "Fedora"
|
||||
zabbix_tls_psk: "{{ zabbix_tls_prod_psk }}" # in ansible-private repo
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
# Defaults variables for role zabbix-agent
|
||||
zabbix_host: "zabbix.server"
|
||||
zabbix_agentd: /etc/zabbix/zabbix_agentd.conf
|
||||
zabbix_agent_hostname: "{{ ansible_hostname }}"
|
||||
zabbix_base_templates:
|
||||
- Linux by Zabbix agent active
|
||||
|
|
|
|||
|
|
@ -7,6 +7,4 @@ zabbix_pkgs_list:
|
|||
- zabbix7.0
|
||||
- bc
|
||||
|
||||
zabbix_agentd: /etc/zabbix_agentd.conf
|
||||
|
||||
zabbix_agentd_dir: /etc/zabbix/zabbix_agentd.d
|
||||
|
|
|
|||
|
|
@ -7,6 +7,4 @@ zabbix_pkgs_list:
|
|||
- zabbix7.0
|
||||
- bc
|
||||
|
||||
zabbix_agentd: /etc/zabbix_agentd.conf
|
||||
|
||||
zabbix_agentd_dir: /etc/zabbix/zabbix_agentd.d
|
||||
|
|
|
|||
|
|
@ -7,6 +7,4 @@ zabbix_pkgs_list:
|
|||
- zabbix7.0
|
||||
- bc
|
||||
|
||||
zabbix_agentd: /etc/zabbix_agentd.conf
|
||||
|
||||
zabbix_agentd_dir: /etc/zabbix/zabbix_agentd.d
|
||||
|
|
|
|||
|
|
@ -9,6 +9,4 @@ zabbix_pkgs_list:
|
|||
- bc
|
||||
- ncurses-compat-libs # Needed for some megacli tools and raid monitoring checks through zabbix_sender
|
||||
|
||||
zabbix_agentd: /etc/zabbix_agentd.conf
|
||||
|
||||
zabbix_agentd_dir: /etc/zabbix/zabbix_agentd.d
|
||||
|
|
|
|||
|
|
@ -7,5 +7,3 @@ zabbix_pkgs_list:
|
|||
- zabbix-agent
|
||||
- zabbix-sender
|
||||
- bc
|
||||
|
||||
zabbix_agentd: /etc/zabbix/zabbix_agentd.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue