summaryrefslogtreecommitdiff
path: root/test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml
diff options
context:
space:
mode:
authorMatt Clay <mclay@redhat.com>2020-02-28 20:37:50 -0800
committerGitHub <noreply@github.com>2020-02-28 20:37:50 -0800
commit7c8b046b5fac7342fcf7882d4c84efc089e7866f (patch)
tree22c3b9ac4cb671951e7f20457269f63c1caf91f8 /test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml
parent04666c9fa1eb2f367cf3b1c9c6853828bdcb813f (diff)
downloadansible-7c8b046b5fac7342fcf7882d4c84efc089e7866f.tar.gz
Fourth batch of incidental integration tests. (#67873)
* Copy in incidental posix tests. * Update incidental test aliases. * Update target names. * Add support plugins. * Fix paths. * Update ignores. * Update integration-aliases sanity test. * Add incidental tests to CI.
Diffstat (limited to 'test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml')
-rw-r--r--test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml b/test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml
new file mode 100644
index 0000000000..498a725f29
--- /dev/null
+++ b/test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml
@@ -0,0 +1,20 @@
+---
+# set up a zabbix proxy to test zabbix_host with
+
+- name: Create a new proxy
+ zabbix_proxy:
+ server_url: "{{ zabbix_server_url }}"
+ login_user: "{{ zabbix_login_user }}"
+ login_password: "{{ zabbix_login_password }}"
+ proxy_name: ExampleProxy
+ description: ExampleProxy
+ status: active
+ state: present
+ interface:
+ type: 0
+ main: 1
+ useip: 1
+ ip: 10.5.6.7
+ dns: ""
+ port: 10050
+ register: zabbix_proxy