* Drop hosts: tasks: boilerplate from EXAMPLES string Should be just individual tasks https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#examples-block * Demonstrate url with port in one of the EXAMPLES
This commit is contained in:
parent
303d622dcb
commit
60d32f26d7
1 changed files with 144 additions and 154 deletions
|
@ -160,8 +160,6 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- hosts: 127.0.0.1
|
||||
tasks:
|
||||
- name: Create a new provider in ManageIQ ('Hawkular' metrics)
|
||||
manageiq_provider:
|
||||
name: 'EngLab'
|
||||
|
@ -219,14 +217,12 @@ EXAMPLES = '''
|
|||
XUsdmRaWiF+l4s6Dcd56SuRp5SGNa2+vP9Of/FX5
|
||||
-----END CERTIFICATE-----
|
||||
manageiq_connection:
|
||||
url: 'https://127.0.0.1'
|
||||
url: 'https://127.0.0.1:80'
|
||||
username: 'admin'
|
||||
password: 'password'
|
||||
verify_ssl: true
|
||||
|
||||
|
||||
- hosts: 127.0.0.1
|
||||
tasks:
|
||||
- name: Update an existing provider named 'EngLab' (defaults to 'Prometheus' metrics)
|
||||
manageiq_provider:
|
||||
name: 'EngLab'
|
||||
|
@ -289,8 +285,6 @@ EXAMPLES = '''
|
|||
verify_ssl: true
|
||||
|
||||
|
||||
- hosts: 127.0.0.1
|
||||
tasks:
|
||||
- name: Delete a provider in ManageIQ
|
||||
manageiq_provider:
|
||||
name: 'EngLab'
|
||||
|
@ -303,8 +297,6 @@ EXAMPLES = '''
|
|||
verify_ssl: true
|
||||
|
||||
|
||||
- hosts: 127.0.0.1
|
||||
tasks:
|
||||
- name: Create a new Amazon provider in ManageIQ using token authentication
|
||||
manageiq_provider:
|
||||
name: 'EngAmazon'
|
||||
|
@ -318,8 +310,6 @@ EXAMPLES = '''
|
|||
url: 'https://127.0.0.1'
|
||||
token: 'VeryLongToken'
|
||||
verify_ssl: true
|
||||
|
||||
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Reference in a new issue