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: I93c7b6854ea3a6b4e255c1405767c80abcbdee1d
This commit is contained in:
Jean-Philippe Evrard
2017-01-13 14:17:20 +00:00
parent 3f050ab3da
commit bdf26ec72c
2 changed files with 21 additions and 0 deletions

View File

@@ -25,6 +25,8 @@
- always
- include: rabbitmq_pre_install.yml
tags:
- rabbitmq_server-install
# The install process will be skipped if `rabbitmq_ignore_version_state=true`
- include: rabbitmq_install.yml
@@ -46,11 +48,24 @@
when: >
rabbitmq_user_ssl_cert is not defined or
rabbitmq_user_ssl_key is not defined
tags:
- rabbitmq_server-config
- include: rabbitmq_ssl_user_provided.yml
tags:
- rabbitmq_server-config
- include: rabbitmq_set_cookie.yml
tags:
- rabbitmq_server-config
- include: rabbitmq_post_install.yml
tags:
- rabbitmq_server-config
- include: rabbitmq_cluster.yml
tags:
- rabbitmq_server-config
- name: Flush handlers
meta: flush_handlers

View File

@@ -20,12 +20,14 @@
when: ansible_pkg_mgr == 'apt'
tags:
- rabbitmq-apt-packages
- rabbitmq_server-install
- include: install_yum.yml
static: no
when: ansible_pkg_mgr == 'yum'
tags:
- rabbitmq-yum-packages
- rabbitmq_server-install
- name: Reload the systemd daemon
command: "systemctl daemon-reload"
@@ -35,6 +37,7 @@
tags:
- rabbitmq-apt-packages
- rabbitmq-yum-packages
- rabbitmq_server-install
- name: Ensure there are no policy-rc files
file:
@@ -43,5 +46,8 @@
tags:
- rabbitmq-upgrade
- rabbitmq-policy-file
- rabbitmq_server-config
- include: rabbitmq_started.yml
tags:
- rabbitmq_server-config