Zabbix-stg: minor fixes to API config
This commit is contained in:
parent
9e8f4dcf6a
commit
655f2dc58f
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# Use a block so we can specify the connection vars once
|
||||
- name: API Block
|
||||
vars:
|
||||
ansible_zabbix_auth_key: "{{ (env == 'staging') | ternary(zabbix_stg_hostname, zabbix_hostname) }}"
|
||||
ansible_zabbix_auth_key: "{{ (env == 'staging') | ternary(zabbix_stg_apikey, zabbix_apikey) }}"
|
||||
ansible_network_os: community.zabbix.zabbix
|
||||
ansible_connection: httpapi
|
||||
ansible_httpapi_port: 443
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Configure Zabbix via api
|
||||
ansible.builtin.include_tasks: configure_api.yml
|
||||
tags:
|
||||
- zabbix-configuration
|
||||
- zabbix_configuration
|
||||
when: env == "staging"
|
||||
|
||||
# - include_tasks: plugins.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue