Role openstack_openrc for OpenStack-Ansible
Go to file
Matt Thompson 7e759bc93b Implement base configuration for independent repository
This is a first pass at bringing in the necessary bits for the gate to
successfully pass.

Change-Id: I915031259a9415cc44a97a906a7607672a606e18
2016-03-01 16:34:59 +00:00
defaults Implement OpenStack client clouds.yml configuration file 2015-12-15 20:47:43 -06:00
doc Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Implement OpenStack client clouds.yml configuration file 2015-12-15 20:47:43 -06:00
templates Implement OpenStack client clouds.yml configuration file 2015-12-15 20:47:43 -06:00
tests Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
.gitignore Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
.gitreview Implement base configuration for independent repository 2016-03-01 16:34:59 +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
run_tests.sh Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
setup.cfg Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
setup.py Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
test-requirements.txt Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
tox.ini Implement base configuration for independent repository 2016-03-01 16:34:59 +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