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:
parent
a2a4bb6e3b
commit
c7951c43e2
@ -24,3 +24,6 @@
|
||||
|
||||
- include: galera_add_node.yml
|
||||
when: inventory_hostname != groups['galera_all'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -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
|
||||
|
@ -25,3 +25,6 @@
|
||||
- include: glance_service_setup.yml
|
||||
when: >
|
||||
inventory_hostname == groups['glance_all'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -31,3 +31,6 @@
|
||||
inventory_hostname == groups['heat_all'][0]
|
||||
|
||||
- include: heat_upstart_init.yml
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -27,3 +27,6 @@
|
||||
- include: keystone_service_setup.yml
|
||||
when: >
|
||||
inventory_hostname == groups['keystone_all'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -30,3 +30,6 @@
|
||||
inventory_hostname in groups['neutron_agent']
|
||||
|
||||
- include: neutron_upstart_init.yml
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -38,3 +38,5 @@
|
||||
tags:
|
||||
- nova-compute
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -41,3 +41,6 @@
|
||||
- include: swift_service_setup.yml
|
||||
when: >
|
||||
inventory_hostname == groups['swift_all'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -24,3 +24,6 @@
|
||||
|
||||
- include: tempest_install.yml
|
||||
- include: tempest_post_install.yml
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -26,3 +26,6 @@
|
||||
- include: rabbitmq_cluster_join.yml
|
||||
when: >
|
||||
inventory_hostname != groups['rabbitmq_all'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
@ -32,3 +32,6 @@
|
||||
- include: repo_sync_manager.yml
|
||||
when: >
|
||||
inventory_hostname == groups['pkg_repo'][0]
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
Loading…
Reference in New Issue
Block a user