[ansible-devel] Need to use raw module to enter bash shell but leads to a timeout

2019-07-16 Thread Eren Karaaslan
I have a remote machine which I ssh to and this leads to a command shell from which I need to enter the command "shell" to enter into the bash shell. I have tried to use the raw module to execute the command and it works, however after entering the bash shell, the rest of my playbook is not pre

Re: [ansible-devel] Need to use raw module to enter bash shell but leads to a timeout

2019-07-16 Thread 'Kosala Atapattu' via Ansible Development
Have you tried the shell module? from the raw module doc: - This is useful and should only be done in a few cases. A common case is installing python on a system without python installed by default. Another is speaking to any devices such as routers that do not have any Python instal

Re: [ansible-devel] Need to use raw module to enter bash shell but leads to a timeout

2019-07-17 Thread Eren Karaaslan
Unfortunately, this does not work because Python is not installed on the initial shell from which I try to enter the bash shell and thus I cannot use any ansible modules except for raw and script On Tuesday, July 16, 2019 at 5:12:10 PM UTC-7, Kosala Atapattu wrote: > > Have you tried the shell m