Role openstack_openrc for OpenStack-Ansible
Go to file
Bjoern Teipel ea5d604af7 Correct OS_IDENTITY_API_VERSION
The OS_IDENTITY_API_VERSION need to be set to 2.0 instead of 2 when
using the Keystone Identity API version 2. Other settings are currently
not affected

Change-Id: I574bf1c1e908833b139a14b1f402df8db837344b
Closes-Bug: #1506231
2015-10-15 00:28:50 +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 Correct OS_IDENTITY_API_VERSION 2015-10-15 00:28:50 +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

README.rst

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