forked from theopenlab/spark
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create role to export vexxhost openrc to shell environment to avoid p…
…otential security risks
- Loading branch information
zhuli
committed
Apr 3, 2018
1 parent
75364f9
commit fdd4ad9
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: Set fact for vexxhost openrc | ||
set_fact: | ||
vexxhost_openrc: | ||
OS_AUTH_TYPE: '{{ vexxhost_credentials.auth_type }}' | ||
OS_IDENTITY_API_VERSION: '{{ vexxhost_credentials.identity_api_version }}' | ||
OS_VOLUME_API_VERSION: '{{ vexxhost_credentials.volume_api_version }}' | ||
OS_INTERFACE: '{{ vexxhost_credentials.interface }}' | ||
OS_AUTH_URL: '{{ vexxhost_credentials.auth_url }}' | ||
OS_PROJECT_ID: '{{ vexxhost_credentials.project_id }}' | ||
OS_PROJECT_NAME: '{{ vexxhost_credentials.project_name }}' | ||
OS_USER_DOMAIN_NAME: '{{ vexxhost_credentials.user_domain_name }}' | ||
OS_PROJECT_DOMAIN_ID: '{{ vexxhost_credentials.project_domain_id }}' | ||
OS_USERNAME: '{{ vexxhost_credentials.username }}' | ||
OS_PASSWORD: '{{ vexxhost_credentials.password }}' | ||
OS_REGION_NAME: '{{ vexxhost_credentials.region_name }}' |