openstack-ansible/playbooks/roles/openstack_openrc
Julian Montez a47ca31221 Add auth version for legacy OpenStack clients
Adding this environment variable expands Identity v3 coverage for legacy
OpenStack CLI clients. This corrects the authentication URLs used even
if v2 is still being used.

Change-Id: I68197ffd12d71a437c482f13520b83cb08d4c9de
Closes-Bug: #1495685
2015-09-21 11:17:18 +00:00
..
defaults Enable all services to use Keystone 'insecurely' 2015-07-10 14:06:25 +01:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
templates Add auth version for legacy OpenStack clients 2015-09-21 11:17:18 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

OpenStack openrc file

tags

openstack, openrc, cloud, ansible

category

*nix

Role for the creation of an openrc file for the intended purpose to set credentials up for use within OpenStack.

- name: Install memcached
  hosts: memcached
  user: root
  roles:
    - { role: "memcached_server", tags: [ "memcached-server" ] }
  vars:
    openrc_cinder_endpoint_type: internalURL
    openrc_nova_endpoint_type: internalURL
    openrc_os_endpoint_type: internalURL
    openrc_os_username: admin
    openrc_os_tenant_name: admin
    openrc_os_auth_url: "http://10.0.0.1:5000"
    openrc_os_password: "secrete"
    openrc_file_dest: /root/openrc