Add an 'always' tag to cluster layout task include

The templates which generate the configuration for the various
components require access to the facts defining the cluster layout.

Running the setup*.yml playbooks with --tags config would not include
common_task_data_node_hosts.yml and templating would fail due to
undefined vars.

This change applys an 'always' tag to all uses of the include.

Change-Id: I6c55a60aef54f9bb26eb9a2af08315265daa82d9
This commit is contained in:
Jonathan Rosser 2018-06-19 09:54:24 +00:00 committed by Kevin Carter (cloudnull)
parent cb479c10ff
commit dbc1ed3af3
16 changed files with 32 additions and 1 deletions

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -10,6 +10,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Set memory fact to half

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -26,6 +26,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_go1.10.1.yml

View File

@ -9,7 +9,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Set quarter memory fact
set_fact:

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -12,6 +12,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -28,6 +28,8 @@
meta: end_play
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates

View File

@ -8,6 +8,8 @@
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates