Fixed unzip task and added templates
This commit is contained in:
parent
b91ea1c6aa
commit
53ad5c62cc
@ -52,8 +52,10 @@
|
|||||||
run_once: /tmp/opendistro-nodecerts/search-guard-tlstool.zip
|
run_once: /tmp/opendistro-nodecerts/search-guard-tlstool.zip
|
||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | Extract the certificates generation tool
|
- name: RedHat/CentOS/Fedora | Extract the certificates generation tool
|
||||||
local_action: command chdir=/tmp/opendistro-nodecerts unzip search-guard-tlstool.zip
|
local_action:
|
||||||
run_once: true
|
module: unarchive
|
||||||
|
src: /tmp/opendistro-nodecerts/search-guard-tlstool.zip
|
||||||
|
dest: /tmp/opendistro-nodecerts/
|
||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | Add the execution bit to the binary
|
- name: RedHat/CentOS/Fedora | Add the execution bit to the binary
|
||||||
local_action:
|
local_action:
|
||||||
@ -65,7 +67,7 @@
|
|||||||
- name: RedHat/CentOS/Fedora | Prepare the certificates generation template file
|
- name: RedHat/CentOS/Fedora | Prepare the certificates generation template file
|
||||||
local_action:
|
local_action:
|
||||||
module: template
|
module: template
|
||||||
src: opendistro/opendistro-elasticsearch/templates/tlsconfig.yml
|
src: "templates/tlsconfig.yml.j2"
|
||||||
dest: /tmp/opendistro-nodecerts/config/tlsconfig.yml
|
dest: /tmp/opendistro-nodecerts/config/tlsconfig.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
@ -112,7 +114,7 @@
|
|||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | Copy the opendistro security internal users template
|
- name: RedHat/CentOS/Fedora | Copy the opendistro security internal users template
|
||||||
template:
|
template:
|
||||||
src: internal_users.yml
|
src: "templates/internal_users.yml.j2"
|
||||||
dest: "{{ es_sec_plugin_conf_path }}/internal_users.yml"
|
dest: "{{ es_sec_plugin_conf_path }}/internal_users.yml"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user