Native YAML - cloud/openstack (#3614)
This commit is contained in:
parent
fb2ddac407
commit
d9231d065e
3 changed files with 22 additions and 11 deletions
|
@ -50,13 +50,15 @@ EXAMPLES = '''
|
|||
# Gather facts about previously created domain
|
||||
- os_keystone_domain_facts:
|
||||
cloud: awesomecloud
|
||||
- debug: var=openstack_domains
|
||||
- debug:
|
||||
var: openstack_domains
|
||||
|
||||
# Gather facts about a previously created domain by name
|
||||
- os_keystone_domain_facts:
|
||||
cloud: awesomecloud
|
||||
name: demodomain
|
||||
- debug: var=openstack_domains
|
||||
- debug:
|
||||
var: openstack_domains
|
||||
|
||||
# Gather facts about a previously created domain with filter
|
||||
- os_keystone_domain_facts
|
||||
|
@ -64,7 +66,8 @@ EXAMPLES = '''
|
|||
name: demodomain
|
||||
filters:
|
||||
enabled: False
|
||||
- debug: var=openstack_domains
|
||||
- debug:
|
||||
var: openstack_domains
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
@ -55,20 +55,23 @@ EXAMPLES = '''
|
|||
# Gather facts about previously created projects
|
||||
- os_project_facts:
|
||||
cloud: awesomecloud
|
||||
- debug: var=openstack_projects
|
||||
- debug:
|
||||
var: openstack_projects
|
||||
|
||||
# Gather facts about a previously created project by name
|
||||
- os_project_facts:
|
||||
cloud: awesomecloud
|
||||
name: demoproject
|
||||
- debug: var=openstack_projects
|
||||
- debug:
|
||||
var: openstack_projects
|
||||
|
||||
# Gather facts about a previously created project in a specific domain
|
||||
- os_project_facts
|
||||
cloud: awesomecloud
|
||||
name: demoproject
|
||||
domain: admindomain
|
||||
- debug: var=openstack_projects
|
||||
- debug:
|
||||
var: openstack_projects
|
||||
|
||||
# Gather facts about a previously created project in a specific domain
|
||||
with filter
|
||||
|
@ -78,7 +81,8 @@ EXAMPLES = '''
|
|||
domain: admindomain
|
||||
filters:
|
||||
enabled: False
|
||||
- debug: var=openstack_projects
|
||||
- debug:
|
||||
var: openstack_projects
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
@ -55,20 +55,23 @@ EXAMPLES = '''
|
|||
# Gather facts about previously created users
|
||||
- os_user_facts:
|
||||
cloud: awesomecloud
|
||||
- debug: var=openstack_users
|
||||
- debug:
|
||||
var: openstack_users
|
||||
|
||||
# Gather facts about a previously created user by name
|
||||
- os_user_facts:
|
||||
cloud: awesomecloud
|
||||
name: demouser
|
||||
- debug: var=openstack_users
|
||||
- debug:
|
||||
var: openstack_users
|
||||
|
||||
# Gather facts about a previously created user in a specific domain
|
||||
- os_user_facts
|
||||
cloud: awesomecloud
|
||||
name: demouser
|
||||
domain: admindomain
|
||||
- debug: var=openstack_users
|
||||
- debug:
|
||||
var: openstack_users
|
||||
|
||||
# Gather facts about a previously created user in a specific domain
|
||||
with filter
|
||||
|
@ -78,7 +81,8 @@ EXAMPLES = '''
|
|||
domain: admindomain
|
||||
filters:
|
||||
enabled: False
|
||||
- debug: var=openstack_users
|
||||
- debug:
|
||||
var: openstack_users
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue