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: Ic815f7439f86c11224a26594a5228e42201b79bc
This commit is contained in:
Jean-Philippe Evrard 2017-01-13 11:51:33 +00:00
parent 967ee53d5f
commit 1b1df28177
2 changed files with 8 additions and 5 deletions

View File

@ -61,38 +61,39 @@
- include: neutron_post_install.yml
tags:
- neutron-install
- neutron-config
# neutron system services
- include: neutron_init.yml
tags:
- neutron-install
- neutron-config
- include: calico_init.yml
static: no
when: neutron_plugin_type == 'ml2.calico'
tags:
- neutron-install
- neutron-config
- include: neutron_db_setup.yml
when:
- neutron_services['neutron-server']['group'] in group_names
- inventory_hostname == groups[neutron_services['neutron-server']['group']][0]
tags:
- neutron-install
- neutron-config
- include: neutron_service_setup.yml
when:
- "'neutron_all' in group_names"
- inventory_hostname == groups['neutron_all'][0]
tags:
- neutron-install
- neutron-config
- include: neutron_l3_ha.yml
when:
- neutron_services['neutron-l3-agent']['group'] in group_names
- neutron_legacy_ha_tool_enabled | bool
tags:
- neutron-config
- name: Flush handlers
meta: flush_handlers

View File

@ -23,6 +23,8 @@
owner: "root"
group: "root"
mode: "0755"
tags:
- neutron-install
- name: Convert the hostname to an int
name2int: