This sort of issues is usually down to a slightly different set of
environment variables that you get when signed in through an interactive
shell vs ansible shell.



On Sat, 24 Aug 2019 at 07:33, seungdols <[email protected]> wrote:

> @Dick visser thank you for your advice.
>
> I try to debug the shell script. but I connect to the target server and
> then I run shell script of logstash. It’s everything Ok.
>
> So, I don’t know. But I try to debug my shell script.
>
> thank you.
>
> 2019년 8월 16일 금요일 오후 11시 37분 22초 UTC+9, Dick Visser 님의 말:
>
>>
>>>
>>> The playbook was successful, and in fact, logstash seems to be running
>>> on the target server, but logstash shut down a few seconds after running
>>> the playbook.
>>>
>>
>>
>> You seem to be using ansible to run a shell script, and it ran OK as far
>> as ansible is involved.
>> The error must be somewhere in your shell script.
>>
>>
>> Dick
>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/bfc3ff47-dfd6-4421-9f24-eb3a285c6fde%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/bfc3ff47-dfd6-4421-9f24-eb3a285c6fde%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwOMwziQ1ScS_jkBifncbYdwufwyd5qpJQGC8tio-WVi%2Bg%40mail.gmail.com.

Reply via email to