Allow deploy time env vars when deploying ELK stack
Change-Id: I029b2a88c4f04f9d2a67763a35db9e52a672fc8a
This commit is contained in:
parent
b2a66c9a18
commit
dc43a27d4a
@ -8,6 +8,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
|
||||||
@ -38,7 +40,6 @@
|
|||||||
enabled: true
|
enabled: true
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
|
||||||
- name: Load apm-server Dashboards
|
- name: Load apm-server Dashboards
|
||||||
hosts: apm-server[0]
|
hosts: apm-server[0]
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Ensure curator is installed
|
- name: Ensure curator is installed
|
||||||
pip:
|
pip:
|
||||||
|
@ -2,8 +2,12 @@
|
|||||||
- name: Install Elastic Search
|
- name: Install Elastic Search
|
||||||
hosts: "elastic-logstash"
|
hosts: "elastic-logstash"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Set half memory fact
|
- name: Set half memory fact
|
||||||
set_fact:
|
set_fact:
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: common_task_install_go1.10.1.yml
|
- include_tasks: common_task_install_go1.10.1.yml
|
||||||
|
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
become: true
|
become: true
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: common_task_install_elk_repo.yml
|
- include_tasks: common_task_install_elk_repo.yml
|
||||||
|
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
become: true
|
become: true
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Set quarter memory fact
|
- name: Set quarter memory fact
|
||||||
set_fact:
|
set_fact:
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
vars:
|
vars:
|
||||||
haproxy_ssl: false
|
haproxy_ssl: false
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
vars:
|
vars:
|
||||||
haproxy_ssl: false
|
haproxy_ssl: false
|
||||||
|
|
||||||
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/variables.yml
|
- vars/variables.yml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user