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:
parent
cb479c10ff
commit
dbc1ed3af3
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Set memory fact to half
|
- name: Set memory fact to half
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_go1.10.1.yml
|
- include_tasks: common_task_install_go1.10.1.yml
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
tasks:
|
tasks:
|
||||||
- name: Set quarter memory fact
|
- name: Set quarter memory fact
|
||||||
set_fact:
|
set_fact:
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
meta: end_play
|
meta: end_play
|
||||||
|
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_data_node_hosts.yml
|
- include_tasks: common_task_data_node_hosts.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load templates
|
- name: Load templates
|
||||||
|
Loading…
Reference in New Issue
Block a user