Allow deploy time env vars when deploying ELK stack

Change-Id: I029b2a88c4f04f9d2a67763a35db9e52a672fc8a
This commit is contained in:
Jonathan Rosser 2018-05-16 11:18:33 +01:00
parent b2a66c9a18
commit dc43a27d4a
11 changed files with 26 additions and 1 deletions

View File

@ -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

View File

@ -8,6 +8,8 @@
vars_files:
- vars/variables.yml
environment: "{{ deployment_environment_variables | default({}) }}"
pre_tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -22,6 +22,8 @@
vars_files:
- vars/variables.yml
environment: "{{ deployment_environment_variables | default({}) }}"
pre_tasks:
- name: Ensure curator is installed
pip:

View File

@ -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:

View File

@ -8,6 +8,8 @@
vars_files:
- vars/variables.yml
environment: "{{ deployment_environment_variables | default({}) }}"
pre_tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -8,6 +8,8 @@
vars_files:
- vars/variables.yml
environment: "{{ deployment_environment_variables | default({}) }}"
pre_tasks:
- include_tasks: common_task_install_elk_repo.yml

View File

@ -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

View File

@ -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

View File

@ -4,6 +4,9 @@
become: true
vars_files:
- vars/variables.yml
environment: "{{ deployment_environment_variables | default({}) }}"
tasks:
- name: Set quarter memory fact
set_fact:

View File

@ -5,6 +5,8 @@
vars:
haproxy_ssl: false
environment: "{{ deployment_environment_variables | default({}) }}"
vars_files:
- vars/variables.yml

View File

@ -5,6 +5,8 @@
vars:
haproxy_ssl: false
environment: "{{ deployment_environment_variables | default({}) }}"
vars_files:
- vars/variables.yml