kolla-ansible/ansible/roles/tacker/tasks/deploy.yml
Mark Goddard 7ff27de7ac Performance: remove unnecessary conditions from includes
There are a number of tasks where we conditionally use include_tasks
with a condition, and the condition is always true. This change removes
these conditions, in preparation for switching unconditional task
includes to task imports.

Partially-Implements: blueprint performance-improvements

Change-Id: I3804c440fe3552950d9d434ef5409f685c39bbcf
2020-07-07 15:50:58 +01:00

16 lines
315 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['tacker-server']
- include_tasks: config.yml
- include_tasks: clone.yml
when:
- tacker_dev_mode | bool
- include_tasks: bootstrap.yml
when: inventory_hostname in groups['tacker-server']
- name: Flush handlers
meta: flush_handlers