[openstack] add endpoint_type parameter to examples (#41979)
Certain project functions are not available on the openstack public api. Creating and deleting projects are examples where you must use the admin api. In most devstack or simple openstack deployments the public, internal and admin apis may live at the IP. However in most production deployments the admin APIs are on a separate network than the public APIs. Therefore for these examples to consistently work, we must specify the admin endpoint_type.
This commit is contained in:
parent
d4ed572e91
commit
09f4c51f9f
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ EXAMPLES = '''
|
|||
# Create a project
|
||||
- os_project:
|
||||
cloud: mycloud
|
||||
endpoint_type: admin
|
||||
state: present
|
||||
name: demoproject
|
||||
description: demodescription
|
||||
|
@ -67,6 +68,7 @@ EXAMPLES = '''
|
|||
# Delete a project
|
||||
- os_project:
|
||||
cloud: mycloud
|
||||
endpoint_type: admin
|
||||
state: absent
|
||||
name: demoproject
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue