Re: [ansible-project] Running simple ad hoc commands via script module not working

2017-09-08 Thread Anfield
No specific requirement. I just wanted to bundle up some ad hoc commands and run them via script module. You are correct. I just recently setup that 2nd vm and didnt have ansible installed. Fixed that. Now the command runs but doesnt actually create the file, even though the output reports chan

Re: [ansible-project] Running simple ad hoc commands via script module not working

2017-09-08 Thread Jean-Yves LENHOF
Le 08/09/2017 à 18:22, Anfield a écrit : > I have a playbook and a script file which contains a couple of simple > ad hoc commands, but it is not working. > > I have 2 VMs on my desktop which are linked up via custom host-only > 10.10.x.x network. Connection is working, other playbooks work fine

[ansible-project] Running simple ad hoc commands via script module not working

2017-09-08 Thread Anfield
I have a playbook and a script file which contains a couple of simple ad hoc commands, but it is not working. I have 2 VMs on my desktop which are linked up via custom host-only 10.10.x.x network. Connection is working, other playbooks work fine etc. Playbook - --- - hosts: 10.10.0.4 become