2017-12-05 20:29:12 +01:00
|
|
|
---
|
|
|
|
# set up a zabbix proxy to test zabbix_host with
|
|
|
|
|
|
|
|
- name: Create a new proxy
|
2019-04-27 02:33:59 +02:00
|
|
|
zabbix_proxy:
|
2017-12-05 20:29:12 +01:00
|
|
|
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
|