Skip to content

Commit

Permalink
Merge pull request apache#116 from animationzl/create-role-export-vex…
Browse files Browse the repository at this point in the history
…xhost-openrc

Create role to export vexxhost openrc to shell environment to avoid p…
  • Loading branch information
kiwik authored Apr 3, 2018
2 parents 4aebed2 + fdd4ad9 commit bb88f51
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions roles/export-vexxhost-openrc/tasks/main.yaml
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 }}'

0 comments on commit bb88f51

Please sign in to comment.