mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
499 B
YAML
22 lines
499 B
YAML
7 years ago
|
---
|
||
|
# set up a zabbix proxy to test zabbix_host with
|
||
|
|
||
|
- name: Create a new proxy
|
||
|
local_action:
|
||
|
module: 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
|