Performance: Use import_tasks in the main plays

Main plays are action-redirect-stubs, ideal for import_tasks.

This avoids 'include' penalty and makes logs/ara look nicer.

Fixes haproxy and rabbitmq not to check the host group as well.

Change-Id: I46136fc40b815e341befff80b54a91ef431eabc0
Partially-Implements: blueprint performance-improvements
This commit is contained in:
Radosław Piliszek 2020-08-01 19:37:40 +02:00
parent 877d309298
commit 9cae59be51
70 changed files with 70 additions and 72 deletions

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,3 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
when: inventory_hostname in groups['haproxy']
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,3 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
when: inventory_hostname in groups[role_rabbitmq_groups]
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"

View File

@ -1,2 +1,2 @@
---
- include_tasks: "{{ kolla_action }}.yml"
- import_tasks: "{{ kolla_action }}.yml"