Add handler flushing to roles that need it

This patch adds handler flushing as the last task in each role to ensure
that there are log files present when the rsyslog client configuration
task is executed a little later in the playbook that consumes the role.

Closes-Bug: #1458822
Change-Id: I92a26b620aa7bc0fbe33175594d37da7d5aca7df
This commit is contained in:
Jesse Pretorius 2015-05-26 17:43:50 +01:00
parent a2a4bb6e3b
commit c7951c43e2
11 changed files with 31 additions and 0 deletions

View File

@ -24,3 +24,6 @@
- include: galera_add_node.yml
when: inventory_hostname != groups['galera_all'][0]
- name: Flush handlers
meta: flush_handlers

View File

@ -20,3 +20,5 @@
- include: lxc_dnsmasq_cleanup.yml
- include: lxc_cache.yml
when: lxc_container_caches is defined
- name: Flush handlers
meta: flush_handlers

View File

@ -25,3 +25,6 @@
- include: glance_service_setup.yml
when: >
inventory_hostname == groups['glance_all'][0]
- name: Flush handlers
meta: flush_handlers

View File

@ -31,3 +31,6 @@
inventory_hostname == groups['heat_all'][0]
- include: heat_upstart_init.yml
- name: Flush handlers
meta: flush_handlers

View File

@ -27,3 +27,6 @@
- include: keystone_service_setup.yml
when: >
inventory_hostname == groups['keystone_all'][0]
- name: Flush handlers
meta: flush_handlers

View File

@ -30,3 +30,6 @@
inventory_hostname in groups['neutron_agent']
- include: neutron_upstart_init.yml
- name: Flush handlers
meta: flush_handlers

View File

@ -38,3 +38,5 @@
tags:
- nova-compute
- name: Flush handlers
meta: flush_handlers

View File

@ -41,3 +41,6 @@
- include: swift_service_setup.yml
when: >
inventory_hostname == groups['swift_all'][0]
- name: Flush handlers
meta: flush_handlers

View File

@ -24,3 +24,6 @@
- include: tempest_install.yml
- include: tempest_post_install.yml
- name: Flush handlers
meta: flush_handlers

View File

@ -26,3 +26,6 @@
- include: rabbitmq_cluster_join.yml
when: >
inventory_hostname != groups['rabbitmq_all'][0]
- name: Flush handlers
meta: flush_handlers

View File

@ -32,3 +32,6 @@
- include: repo_sync_manager.yml
when: >
inventory_hostname == groups['pkg_repo'][0]
- name: Flush handlers
meta: flush_handlers