Re: bin/client fails to connect when called via ansible.builtin.shell

2022-01-20 Thread Ralf Steppacher
Hello François, That indeed fixed the issue with the client disconnects! Thank you very much! Ralf On 18.01.22 23:50, VIEILLARD Francois wrote: Hi Ralf I had the exact same problem as you and I found that the script fails because there is no TTY in the remote session opened using ansible

Re: bin/client fails to connect when called via ansible.builtin.shell

2022-01-18 Thread Freeman Fang
Yes, this is the TTY thing and I ran into the same thing before. On Tue, Jan 18, 2022 at 5:51 PM VIEILLARD Francois < francois.vieill...@soprasteria.com> wrote: > Hi Ralf > > I had the exact same problem as you and I found that the script fails > because there is no TTY in the remote session

RE: bin/client fails to connect when called via ansible.builtin.shell

2022-01-18 Thread VIEILLARD Francois
Hi Ralf I had the exact same problem as you and I found that the script fails because there is no TTY in the remote session opened using ansible You could use the script batch mode instead, which doesn’t require TTY (flag -b in the script) So your ansible task would become: - name: Use Karaf

bin/client fails to connect when called via ansible.builtin.shell

2022-01-04 Thread Ralf Steppacher
Hello all, I am trying to provision Karaf using Ansible (on localhost). All is good until I first try to use the bin/client script to interact with the local Karaf server. For some reason all interactions, no matter what I try, end with the error "Closed". However, I can run the client script