mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Corrects docs for ltm external monitor (#40559)
Examples were incorrect. This fixes them
This commit is contained in:
@@ -87,7 +87,7 @@ author:
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
- name: Create a ...
|
||||
- name: Create an external monitor
|
||||
bigip_monitor_external:
|
||||
name: foo
|
||||
password: secret
|
||||
@@ -95,6 +95,33 @@ EXAMPLES = r'''
|
||||
state: present
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Create an external monitor with variables
|
||||
bigip_monitor_external:
|
||||
name: foo
|
||||
timeout: 10
|
||||
variables:
|
||||
var1: foo
|
||||
var2: bar
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
state: present
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Add a variable to an existing set
|
||||
bigip_monitor_external:
|
||||
name: foo
|
||||
timeout: 10
|
||||
variables:
|
||||
var1: foo
|
||||
var2: bar
|
||||
cat: dog
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
state: present
|
||||
user: admin
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
||||
Reference in New Issue
Block a user