Merge "Add a cloud profile for system-admins"

This commit is contained in:
Zuul 2021-07-08 19:53:27 +00:00 committed by Gerrit Code Review
commit 698aabe280

View File

@ -804,6 +804,31 @@ outputs:
identity_api_version: '3'
volume_api_version: '3'
region_name: {get_param: KeystoneRegion}
- name: Configure system admin account in /etc/openstack/clouds.yaml
include_role:
name: tripleo_keystone_resources
tasks_from: clouds
vars:
tripleo_keystone_resources_cloud_name:
list_join:
- '-'
- - {get_param: RootStackName}
- 'system-admin'
tripleo_keystone_resources_cloud_config:
auth:
auth_url: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix]}
password: {get_param: AdminPassword}
system_scope: all
user_domain_name: Default
username: admin
cacert:
if:
- public_tls_enabled
- {get_param: PublicTLSCAFile}
- ''
identity_api_version: '3'
volume_api_version: '3'
region_name: {get_param: KeystoneRegion}
- name: Manage Keystone resources
become: true
when: