Skip to content

Instantly share code, notes, and snippets.

@odyssey4me
Created July 18, 2017 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odyssey4me/37d6c9ac96e5d3604f475b35a6ffecc4 to your computer and use it in GitHub Desktop.
Save odyssey4me/37d6c9ac96e5d3604f475b35a6ffecc4 to your computer and use it in GitHub Desktop.
Configure openrc/clouds.yaml on any host
---
- name: Configure OpenStack authentication information
hosts: openstack_clients
gather_facts: no
roles:
- role: "openstack_openrc"
openrc_cinder_endpoint_type: publicURL
openrc_nova_endpoint_type: publicURL
openrc_os_endpoint_type: publicURL
openrc_clouds_yml_interface: public
openrc_os_username: admin
openrc_os_tenant_name: admin
openrc_os_password: "{{ keystone_auth_admin_password }}"
openrc_os_auth_url: "{{ keystone_service_publicurl }}"
openrc_os_domain_name: "Default"
openrc_region_name: "{{ service_region }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment