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:
parent
df4c66af1e
commit
5e37f5bc40
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user