From 9251f92b474793a03a888dbfbc7c51f4a1f7ff14 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Thu, 13 Oct 2016 18:44:41 +0100 Subject: [PATCH] Move flush handles to the end of the tasks We shouldn't need to restart the services until the ring and keys have been synced. This will ensure that we don't have a situation where swift storage services start (on first deploy) but don't have ring files, and as a result log errors until the ring files exist. Change-Id: I57ba7843655c5c9ac8b213bd705fd73e3bae96fa --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 31e10e1f..bca9f927 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -107,9 +107,6 @@ tags: - swift-install -- name: Flush handlers - meta: flush_handlers - - include: swift_key_setup.yml static: no when: swift_do_sync | bool @@ -123,6 +120,9 @@ - swift-install - swift-config +- name: Flush handlers + meta: flush_handlers + - include: swift_sync_post_install.yml static: no when: swift_do_sync | bool