mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Corrects docs for ltm external monitor (#40559)
Examples were incorrect. This fixes them
This commit is contained in:
parent
1d2d4a9015
commit
d8d86079c0
1 changed files with 28 additions and 1 deletions
|
@ -87,7 +87,7 @@ author:
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = r'''
|
EXAMPLES = r'''
|
||||||
- name: Create a ...
|
- name: Create an external monitor
|
||||||
bigip_monitor_external:
|
bigip_monitor_external:
|
||||||
name: foo
|
name: foo
|
||||||
password: secret
|
password: secret
|
||||||
|
@ -95,6 +95,33 @@ EXAMPLES = r'''
|
||||||
state: present
|
state: present
|
||||||
user: admin
|
user: admin
|
||||||
delegate_to: localhost
|
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'''
|
RETURN = r'''
|
||||||
|
|
Loading…
Reference in a new issue