Hi All,
I am running a shell script for installation of Search Guard Plugin for
Elastic Search. Below is the error given. If any body knows any better way
for Search Guard plugin you can suggest me.
Playbook:
---------
---
- hosts: deploy
gather_facts: no
tasks:
- script: /opt/search_guard.sh
Contents of search_guard.sh ::-
----------------------------------------
cd /usr/share/elasticsearch/bin
sh ./plugin install -b com.floragunn/search-guard-2/2.4.2.9
Error:-
----------
TASK [script]
***************************************************************************************************************************
Monday 16 April 2018 20:45:02 +0530 (0:00:00.072) 0:00:00.072
**********
fatal: [192.168.56.121]: FAILED! => {"changed": true, "msg": "non-zero
return code", "rc": 127, "stderr": "Shared connection to 192.168.56.121
closed.\r\n", "stdout": "/bin/sh: 1:
/root/.ansible/tmp/ansible-tmp-1523891702.02-243715668987716/search_guard.sh:
not found\r\n", "stdout_lines": ["/bin/sh: 1:
/root/.ansible/tmp/ansible-tmp-1523891702.02-243715668987716/search_guard.sh:
not found"]}
Though the script was present in the location.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3531ffc9-bb35-4ba2-a782-38cf44dc377a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.