openstack-ansible/playbooks/roles/openstack_openrc
Kevin Carter 456d5f2ee2
Added LC_ALL to openrc
This commit adds the LC_ALL export to the openrc file to ensure that
the openstack clients and system work with different preset local
settings.

Change-Id: I9f62b9b3db50b70ebdddc724215ebd3b0a138e42
Closes-Bug: #1408935
2015-10-06 17:58:24 -05: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 Added LC_ALL to openrc 2015-10-06 17:58:24 -05: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