From 53b84c58b241759086c235fcc1e26d9f28ecfe08 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 26 May 2015 17:43:50 +0100 Subject: [PATCH] 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 --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 05abf0c1..a627824d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,3 +25,6 @@ - include: glance_service_setup.yml when: > inventory_hostname == groups['glance_all'][0] + +- name: Flush handlers + meta: flush_handlers