summaryrefslogtreecommitdiff
path: root/test/integration/targets/incidental_zabbix_host/tasks/zabbix_host_setup.yml
blob: 498a725f29475ef4f464a63318200d63f33f63a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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