From 7fea879a4a01d8b10a0cd6d0d1da69a5657580e6 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 25 Jul 2021 03:26:39 +0000 Subject: [PATCH] Add some flushing of handlers --- tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index e539502..84ffdd1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -45,6 +45,8 @@ notify: - 'ensure_os_upgrade.package_facts' - 'ensure_os_upgrade.service_facts' +- name: 'flush handlers' + meta: 'flush_handlers' - name: 'ensure services' when: - ansible_system == 'Linux' @@ -61,6 +63,8 @@ notify: - 'ensure_os_upgrade.package_facts' - 'ensure_os_upgrade.service_facts' +- name: 'flush handlers' + meta: 'flush_handlers' - name: 'Ensure system-upgrade download' when: - ansible_system == 'Linux' @@ -110,4 +114,4 @@ - 'ensure_os_upgrade.package_facts' - 'ensure_os_upgrade.service_facts' - name: 'flush handlers' - meta: 'flush_handlers' \ No newline at end of file + meta: 'flush_handlers'