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/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- include_tasks: common_task_install_elk_repo.yml
|
||||
|
||||
@ -38,7 +40,6 @@
|
||||
enabled: true
|
||||
state: restarted
|
||||
|
||||
|
||||
- name: Load apm-server Dashboards
|
||||
hosts: apm-server[0]
|
||||
become: true
|
||||
|
@ -8,6 +8,8 @@
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- include_tasks: common_task_install_elk_repo.yml
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- name: Ensure curator is installed
|
||||
pip:
|
||||
|
@ -2,8 +2,12 @@
|
||||
- name: Install Elastic Search
|
||||
hosts: "elastic-logstash"
|
||||
become: true
|
||||
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
tasks:
|
||||
- name: Set half memory fact
|
||||
set_fact:
|
||||
|
@ -8,6 +8,8 @@
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- include_tasks: common_task_install_elk_repo.yml
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- include_tasks: common_task_install_elk_repo.yml
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
pre_tasks:
|
||||
- include_tasks: common_task_install_go1.10.1.yml
|
||||
|
||||
|
@ -4,6 +4,9 @@
|
||||
become: true
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
tasks:
|
||||
- include_tasks: common_task_install_elk_repo.yml
|
||||
|
||||
|
@ -4,6 +4,9 @@
|
||||
become: true
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
tasks:
|
||||
- name: Set quarter memory fact
|
||||
set_fact:
|
||||
|
@ -5,6 +5,8 @@
|
||||
vars:
|
||||
haproxy_ssl: false
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
vars:
|
||||
haproxy_ssl: false
|
||||
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
|
||||
vars_files:
|
||||
- vars/variables.yml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user