Debian Codegraph @

ansible_collections/community/zabbix/tests/integration/targets/test_zabbix_proxy/tasks/main.yml

raw
1 ---
2 - block:
3 - name: Run tests for Zabbix < 7.0
4 when: zabbix_version is version('7.0', '<')
5 include_tasks: test_zabbix_proxy_before70.yml
6
7 - name: Run tests for Zabbix >= 7.0
8 when: zabbix_version is version('7.0', '>=')
9 include_tasks: test_zabbix_proxy_since70.yml
10
11 always:
12 - name: Cleanup proxy
13 community.zabbix.zabbix_proxy:
14 proxy_name: zbxproxy_example01
15 state: absent
16 ignore_errors: true
17
18 - name: Cleanup proxy group
19 community.zabbix.zabbix_proxy_group:
20 name: zbxproxy_group_example01
21 state: absent
22 ignore_errors: true
23 when: zabbix_version is version('7.0', '>=')