Linting and improving variables
This commit is contained in:
parent
a2fe75775e
commit
cf14f400ba
@ -39,8 +39,9 @@ opendistro_jvm_xms: null
|
|||||||
|
|
||||||
opendistro_http_port: 9200
|
opendistro_http_port: 9200
|
||||||
|
|
||||||
|
certs_gen_tool_version: 1.7
|
||||||
# Url of Search Guard certificates generator tool
|
# Url of Search Guard certificates generator tool
|
||||||
certs_gen_tool_url: https://releases.floragunn.com/search-guard-tlstool/1.7/search-guard-tlstool-1.7.zip
|
certs_gen_tool_url: "https://releases.floragunn.com/search-guard-tlstool/{{ certs_gen_tool_version }}/search-guard-tlstool-{{ certs_gen_tool_version }}.zip"
|
||||||
|
|
||||||
elasticrepo:
|
elasticrepo:
|
||||||
apt: 'https://artifacts.elastic.co/packages/7.x/apt'
|
apt: 'https://artifacts.elastic.co/packages/7.x/apt'
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: restart elasticsearch
|
- name: restart elasticsearch
|
||||||
service: name=elasticsearch
|
service:
|
||||||
|
name: elasticsearch
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
- name: Local action | Create local temporary directory for certificates generation
|
- name: Local action | Create local temporary directory for certificates generation
|
||||||
local_action:
|
local_action:
|
||||||
module: file
|
module: file
|
||||||
path: {{ local_certs_path }}
|
path: "{{ local_certs_path }}"
|
||||||
state: directory
|
state: directory
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
@ -12,8 +12,8 @@
|
|||||||
local_action:
|
local_action:
|
||||||
module: get_url
|
module: get_url
|
||||||
url: "{{ certs_gen_tool_url }}"
|
url: "{{ certs_gen_tool_url }}"
|
||||||
dest: "{{ local_certs_path }}/search-guard-tlstool-1.7.zip"
|
dest: "{{ local_certs_path }}/search-guard-tlstool-{{ certs_gen_tool_version }}.zip"
|
||||||
run_once: "{{ local_certs_path }}/search-guard-tlstool.zip"
|
run_once: true
|
||||||
|
|
||||||
- name: Local action | Extract the certificates generation tool
|
- name: Local action | Extract the certificates generation tool
|
||||||
local_action:
|
local_action:
|
||||||
|
|||||||
@ -22,7 +22,8 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | Install OpenJDK 11
|
- name: RedHat/CentOS/Fedora | Install OpenJDK 11
|
||||||
yum: name=java-11-openjdk-devel
|
yum:
|
||||||
|
name: java-11-openjdk-devel
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | Install OpenDistro dependencies
|
- name: RedHat/CentOS/Fedora | Install OpenDistro dependencies
|
||||||
|
|||||||
@ -6,7 +6,8 @@
|
|||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- name: Install OpenDistro
|
- name: Install OpenDistro
|
||||||
package: name=opendistroforelasticsearch-{{ opendistro_version }}
|
package:
|
||||||
|
name: opendistroforelasticsearch-{{ opendistro_version }}
|
||||||
state: present
|
state: present
|
||||||
register: install
|
register: install
|
||||||
tags: install
|
tags: install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user