Evgeny

Results 81 comments of Evgeny

See EXAMPLES section here for zabbix_host (and for all other modules in respective files) https://github.com/ansible-collections/community.zabbix/blob/main/plugins/modules/zabbix_host.py#L337

try ``` - name: Set API token set_fact: ansible_zabbix_auth_key: "{{ zabbix_api_token }}" - name: add template to host vars: gather_facts: false ansible_network_os: community.zabbix.zabbix ansible_connection: httpapi ansible_httpapi_port: 443 ansible_httpapi_use_ssl: true ansible_httpapi_validate_certs:...

Are you sure you are on 2.1 version? Did you try my code? You missed crucial `delegate_to` and for some reason re-defined `ansible_host`. This functionality has been tested a lot...

Looks like I reproduced the issue, for some reason `set_fact` for ansible_zabbix_auth_key is not working. Following ways to define the key work. 1. I'd recommend to put all Zabbix API...

It is really strange, I'll dig further. Probably need to refresh my Ansible knowledge -(

@solick I decided to come back and investigate further but can't reproduce any longer. `set_fact:` works as well as defining variables in `vars:`. Are you still having this problem? If...

First of all feel free to contribute to improve the docs. Some people complain about documentation but documentation for *every* module says exactly what variables you need to set to...

> I also think the set_fact example like in the README is just wrong and an odd way of doing it I did most of the coding to switch to...

Hi, make sure you use correct tag when you download code from this repository. v1.0.2 is for Zabbix 5.4 v2.0.0 is for Zabbix 6.0/6.2

I cannot reproduce. Can you take a look at your php/apache(or nginx) logs and tell me what error you see there?