mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 05:42:46 +01:00
build
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
vars:
|
||||
zabbix_version: "7.4"
|
||||
zabbix_server_ip: "192.168.77.101"
|
||||
zabbix_proxy_name: "{{ inventory_hostname }}"
|
||||
zabbix_db_file: "/var/lib/zabbix/zabbix_proxy.db"
|
||||
zabbix_db_type: "sqlite" # sqlite | mysql | postgres
|
||||
zabbix_api_url: "https://zabbix.sectorq.eu/api_jsonrpc.php"
|
||||
@@ -133,7 +132,7 @@
|
||||
loop:
|
||||
- { key: "Server", value: "127.0.0.1" }
|
||||
- { key: "ServerActive", value: "{{ clustename }}-vm01.home.lan;{{ clustename }}-vm02.home.lan;{{ clustename }}-vm03.home.lan;{{ clustename }}-vm04.home.lan;{{ clustename }}-vm05.home.lan" }
|
||||
- { key: "Hostname", value: "{{ zabbix_proxy_name }}" }
|
||||
- { key: "Hostname", value: "{{ inventory_hostname }}" }
|
||||
- { key: "HostMetadata", value: "linux,jaydee" }
|
||||
- { key: "SourceIP", value: "{{ ansible_default_ipv4.address }}" }
|
||||
|
||||
@@ -150,7 +149,7 @@
|
||||
{{
|
||||
[
|
||||
{'key': 'Server', 'value': zabbix_server_ip},
|
||||
{'key': 'Hostname', 'value': zabbix_proxy_name},
|
||||
{'key': 'Hostname', 'value': inventory_hostname},
|
||||
{'key': 'ProxyMode', 'value': '0'}
|
||||
]
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user