Modified task, from shell to command module

This commit is contained in:
Manuel J. Bernal 2020-05-08 14:43:30 +02:00
parent e83c6f8d86
commit 3c6e08c7cf

View File

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