Add proxy type passive example to example block of zabbix_proxy (#66400)

pull/66423/head
sky-joker 5 years ago committed by ansibot
parent b7dfcfa0b4
commit 3de2575063

@ -122,7 +122,7 @@ extends_documentation_fragment:
''' '''
EXAMPLES = r''' EXAMPLES = r'''
- name: Create a new proxy or update an existing proxy - name: Create or update a proxy with proxy type active
local_action: local_action:
module: zabbix_proxy module: zabbix_proxy
server_url: http://monitor.example.com server_url: http://monitor.example.com
@ -133,6 +133,17 @@ EXAMPLES = r'''
status: active status: active
state: present state: present
proxy_address: ExampleProxy.local proxy_address: ExampleProxy.local
- name: Create or update a proxy with proxy type passive
local_action:
module: zabbix_proxy
server_url: http://monitor.example.com
login_user: username
login_password: password
proxy_name: ExampleProxy
description: ExampleProxy
status: passive
state: present
interface: interface:
type: 0 type: 0
main: 1 main: 1

Loading…
Cancel
Save