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
This commit is contained in:
Andy McCrae 2016-10-13 18:44:41 +01:00
parent bf1ab1750a
commit 9251f92b47

View File

@ -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