Skip to content
Snippets Groups Projects
Commit 5bc3e192 authored by Ha Manh Dong's avatar Ha Manh Dong
Browse files

Remove when condition in roles/swift/tasks/deploy.yml

Because all task in deploy.yml need run in all swift host,
so we don't need the when condition.

Change-Id: Ibd61ce2615985cbad70c13a37c863fc6e5e858e4
parent da9ff224
No related branches found
No related tags found
No related merge requests found
---
- include_tasks: register.yml
when: inventory_hostname in groups['swift-account-server'] or
inventory_hostname in groups['swift-container-server'] or
inventory_hostname in groups['swift-object-server'] or
inventory_hostname in groups['swift-proxy-server']
- include_tasks: config.yml
when: inventory_hostname in groups['swift-account-server'] or
inventory_hostname in groups['swift-container-server'] or
inventory_hostname in groups['swift-object-server'] or
inventory_hostname in groups['swift-proxy-server']
- include_tasks: start.yml
when: inventory_hostname in groups['swift-account-server'] or
inventory_hostname in groups['swift-container-server'] or
inventory_hostname in groups['swift-object-server'] or
inventory_hostname in groups['swift-proxy-server']
- include_tasks: check.yml
when: inventory_hostname in groups['swift-account-server'] or
inventory_hostname in groups['swift-container-server'] or
inventory_hostname in groups['swift-object-server'] or
inventory_hostname in groups['swift-proxy-server']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment