Bring consistency to tags
We apply here our practices to have role_name-(config|install). Change-Id: Ie8792d271efc6f023c2cf006b99ff89f83890774
This commit is contained in:
parent
8fb5aff353
commit
41d71da4d9
|
@ -33,9 +33,10 @@ To use this role, define the following variables:
|
||||||
Tags
|
Tags
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
This role supports two tags: ``openrc-install`` and ``openrc-config``.
|
This role supports two tags: ``openstack_openrc-install`` and
|
||||||
The ``openrc-install`` tag can be used to install and upgrade. The
|
``openstack_openrc-config``. The ``openstack_openrc-install`` tag is only
|
||||||
``openrc-config`` tag can be used to manage configuration.
|
used to setup the appropriate folders. The ``openstack_openrc-config`` tag
|
||||||
|
can be used to manage configuration.
|
||||||
|
|
||||||
|
|
||||||
Example playbook
|
Example playbook
|
||||||
|
|
|
@ -21,8 +21,7 @@
|
||||||
group: "{{ openrc_file_group }}"
|
group: "{{ openrc_file_group }}"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
tags:
|
tags:
|
||||||
- openrc-install
|
- openstack_openrc-config
|
||||||
- openrc-config
|
|
||||||
|
|
||||||
- name: Create OpenStack client configuration directory
|
- name: Create OpenStack client configuration directory
|
||||||
file:
|
file:
|
||||||
|
@ -32,7 +31,7 @@
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
state: directory
|
state: directory
|
||||||
tags:
|
tags:
|
||||||
- openrc-install
|
- openstack_openrc-install
|
||||||
|
|
||||||
- name: Create clouds.yaml file
|
- name: Create clouds.yaml file
|
||||||
template:
|
template:
|
||||||
|
@ -42,5 +41,4 @@
|
||||||
group: "{{ openrc_clouds_yml_file_group }}"
|
group: "{{ openrc_clouds_yml_file_group }}"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
tags:
|
tags:
|
||||||
- openrc-install
|
- openstack_openrc-config
|
||||||
- openrc-config
|
|
||||||
|
|
Loading…
Reference in New Issue