Modified task, from shell to command module
This commit is contained in:
parent
e83c6f8d86
commit
3c6e08c7cf
@ -73,8 +73,8 @@
|
|||||||
when: install.changed
|
when: install.changed
|
||||||
|
|
||||||
- name: Initialize the opendistro security index in elasticsearch
|
- name: Initialize the opendistro security index in elasticsearch
|
||||||
shell: >
|
command: >
|
||||||
sh {{ opendistro_sec_plugin_tools_path }}/securityadmin.sh
|
{{ opendistro_sec_plugin_tools_path }}/securityadmin.sh
|
||||||
-cacert {{ opendistro_conf_path }}/root-ca.pem
|
-cacert {{ opendistro_conf_path }}/root-ca.pem
|
||||||
-cert {{ opendistro_conf_path }}/admin.pem
|
-cert {{ opendistro_conf_path }}/admin.pem
|
||||||
-key {{ opendistro_conf_path }}/admin.key
|
-key {{ opendistro_conf_path }}/admin.key
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user