Corrects docs for ltm external monitor (#40559)

Examples were incorrect. This fixes them
pull/4420/head
Tim Rupp 2018-05-22 12:28:53 -07:00 committed by GitHub
parent 1d2d4a9015
commit d8d86079c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 1 deletions

View File

@ -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'''