Role openstack_openrc for OpenStack-Ansible
Go to file
Jesse Pretorius e12843eea5 Ensure that doc linting is included in the linters test
The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: I7461f13ba20aca33bb339e344b88189e043189d0
2016-07-25 22:55:21 +01:00
defaults Correct filename of clouds.yml to clouds.yaml 2016-03-02 13:33:41 -05:00
doc Ensure that doc linting is included in the linters test 2016-07-25 22:55:21 +01:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
releasenotes Update sphinx configuration 2016-07-12 16:51:31 +01:00
tasks Cleanup/standardize usage of tags 2016-07-11 10:35:13 -04:00
templates Set OS_TENANT_NAME for backward compatibility 2016-03-28 14:22:48 -04:00
tests Correct filename of clouds.yml to clouds.yaml 2016-03-02 13:33:41 -05:00
.gitignore Remove duplicates from .gitignore 2016-07-15 11:41:44 +10:00
.gitreview Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
CONTRIBUTING.rst Adding Vagrantfile for local developer testing 2016-03-02 13:26:51 -05:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Ensure that doc linting is included in the linters test 2016-07-25 22:55:21 +01:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-02 13:26:51 -05:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:54:58 +01:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:54:58 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-01 16:34:59 +00:00
setup.py Updated from global requirements 2016-07-15 03:57:34 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:57:34 +00:00
tox.ini Ensure that doc linting is included in the linters test 2016-07-25 22:55:21 +01:00

README.rst

OpenStack-Ansible openrc file

tags

openstack, openrc, cloud, ansible

category

*nix

This Ansible role creates the configuration files used by various OpenStack CLI tools. For more information about these tools, see the OpenStack CLI Reference.

Required Variables

To use this role, define the following variables:

keystone_service_adminuri_insecure: false
keystone_service_internaluri_insecure: false
openrc_os_password: secrete
openrc_os_domain_name: Default

Example Playbook

- name: Install openrc
  hosts: all
  user: root
  roles:
    - { role: "openstack-ansible-openstack_openrc",
        tags: [ "openstack_openrc" ]
      }
  vars:
    keystone_service_adminuri_insecure: false
    keystone_service_internaluri_insecure: false
    openrc_os_password: secrete
    openrc_os_domain_name: Default

Tags

This role supports two tags: openrc-install and openrc-config

The openrc-install tag can be used to install and upgrade.

The openrc-config tag can be used to manage configuration.