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

View File

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