kolla-ansible/ansible/roles/magnum/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

15 lines
303 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['magnum-api']
- include_tasks: config.yml
- include_tasks: clone.yml
when: magnum_dev_mode | bool
- include_tasks: bootstrap.yml
when: inventory_hostname in groups['magnum-api']
- name: Flush handlers
meta: flush_handlers