From 4b2d1e22441f1be4ddd7ff5bab91e03ce38b1340 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 10 Jan 2017 14:13:15 +0000 Subject: [PATCH] Bring consistency to tags Some tags were not applied on the highest level and forced duplication. We apply here our practices to have role_name-(config|install) [1]. [1]: http://docs.openstack.org/developer/openstack-ansible/developer-docs/contribute.html#ansible-style-guide Change-Id: I00a27f9bfe7b5311e55b3d69d03ffe42bdf61915 --- tasks/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0aa46da1..21ec5fc8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,7 +35,6 @@ - include: cinder_post_install.yml tags: - - cinder-install - cinder-config - include: cinder_db_setup.yml @@ -43,18 +42,18 @@ - groups['cinder_all'] | length > 0 - inventory_hostname == groups['cinder_all'][0] tags: - - cinder-install + - cinder-config - include: cinder_service_setup.yml when: - groups['cinder_all'] | length > 0 - inventory_hostname == groups['cinder_all'][0] tags: - - cinder-install + - cinder-config - include: cinder_init_common.yml tags: - - cinder-install + - cinder-config - name: Flush handlers meta: flush_handlers @@ -64,11 +63,11 @@ - groups['cinder_volume'] | length > 0 - inventory_hostname in groups['cinder_volume'][0] tags: - - cinder-install + - cinder-config - include: cinder_lvm_config.yml when: - inventory_hostname in groups['cinder_volume'] - cinder_backend_lvm_inuse tags: - - cinder-install + - cinder-config