Move swift ring tasks before systemd tasks

Ensure swift rings are present before setting up systemd units
and starting the swift services.

Change-Id: I2d3d1355d9624a5f5caa30e49e086326bed13976
This commit is contained in:
Byron McCollum 2018-08-16 16:46:42 -05:00
parent df4c66af1e
commit 5e37f5bc40
1 changed files with 13 additions and 13 deletions

View File

@ -87,6 +87,19 @@
tags:
- swift-config
- include_tasks: swift_key_setup.yml
when:
- "swift_do_sync | bool"
tags:
- swift-config
- include_tasks: swift_rings.yml
when:
- "swift_do_sync | bool"
tags:
- swift-config
- swift-rings
- name: Run the systemd service role
include_role:
name: systemd_service
@ -138,18 +151,5 @@
tags:
- swift-config
- include_tasks: swift_key_setup.yml
when:
- "swift_do_sync | bool"
tags:
- swift-config
- include_tasks: swift_rings.yml
when:
- "swift_do_sync | bool"
tags:
- swift-config
- swift-rings
- name: Flush handlers
meta: flush_handlers