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

18 lines
424 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['monasca-agent'] or
inventory_hostname in groups['monasca-api']
- include_tasks: config.yml
- include_tasks: bootstrap.yml
when: inventory_hostname in groups['monasca-api'] or
inventory_hostname in groups['monasca-grafana']
- name: Flush handlers
meta: flush_handlers
- include_tasks: check.yml
- include_tasks: post_config.yml