mirror of https://github.com/ansible/ansible.git
Zabbix integration tests (#63744)
* adjusted setup_zabbix integration tests role to work on distributions from Debian family * bumped zabbix_host integration tests role to be run against bionicpull/63948/head
parent
07ed860c2b
commit
57c36e0378
@ -1,6 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# This integration test is only for Ubuntu 14.04 at the moment. This makes
|
|
||||||
# installation of a Zabbix quite a bit easier.
|
|
||||||
- include: setup.yml
|
- include: setup.yml
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
|
when: ansible_os_family == 'Debian'
|
||||||
|
@ -1,16 +1,17 @@
|
|||||||
---
|
---
|
||||||
# setup stuff not testing zabbix_host
|
# setup stuff not testing zabbix_host
|
||||||
|
- block:
|
||||||
- include: zabbix_host_setup.yml
|
- include: zabbix_host_setup.yml
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
|
|
||||||
|
|
||||||
# zabbix_host module tests
|
# zabbix_host module tests
|
||||||
- include: zabbix_host_tests.yml
|
- include: zabbix_host_tests.yml
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
|
|
||||||
|
|
||||||
# documentation example tests
|
# documentation example tests
|
||||||
- include: zabbix_host_doc.yml
|
- include: zabbix_host_doc.yml
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
|
|
||||||
|
|
||||||
# tear down stuff set up earlier
|
# tear down stuff set up earlier
|
||||||
- include: zabbix_host_teardown.yml
|
- include: zabbix_host_teardown.yml
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
|
|
||||||
|
when:
|
||||||
|
- ansible_distribution == 'Ubuntu'
|
||||||
|
- ansible_distribution_release == 'bionic'
|
||||||
|
Loading…
Reference in New Issue