Cleanup/standardize usage of tags
The tags within the role have been condensed to two tags: openrc-install and openrc-config These tags have been chosen as they are namespaced and cover the two major functions of the role. Documentation has been updated to inform how each tag influences the function of the role. Change-Id: I2968884300d753f2c75279cccca4c896287ea83b
This commit is contained in:
parent
67f3cac059
commit
eb9e7029b5
13
README.rst
13
README.rst
|
@ -10,7 +10,7 @@ Reference`_.
|
|||
.. _OpenStack CLI Reference: http://docs.openstack.org/cli-reference/overview.html
|
||||
|
||||
Required Variables
|
||||
------------------
|
||||
==================
|
||||
|
||||
To use this role, define the following variables:
|
||||
|
||||
|
@ -22,7 +22,7 @@ To use this role, define the following variables:
|
|||
openrc_os_domain_name: Default
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
================
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
@ -38,3 +38,12 @@ Example Playbook
|
|||
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.
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
group: "{{ openrc_file_group }}"
|
||||
mode: "0600"
|
||||
tags:
|
||||
- openstack-openrc-file
|
||||
- openrc-install
|
||||
- openrc-config
|
||||
|
||||
- name: Create OpenStack client configuration directory
|
||||
file:
|
||||
|
@ -31,7 +32,7 @@
|
|||
mode: "0600"
|
||||
state: directory
|
||||
tags:
|
||||
- openstack-openrc-file
|
||||
- openrc-install
|
||||
|
||||
- name: Create clouds.yaml file
|
||||
template:
|
||||
|
@ -41,4 +42,5 @@
|
|||
group: "{{ openrc_clouds_yml_file_group }}"
|
||||
mode: "0600"
|
||||
tags:
|
||||
- openstack-openrc-file
|
||||
- openrc-install
|
||||
- openrc-config
|
||||
|
|
Loading…
Reference in New Issue