[ansible-project] Re: Ansible deployng VM and transfering and execute shell script on remote host

2020-03-05 Thread Julio Cesar Caraca
Hi Racke , I moved the script to /tmp directory and also changed permission to 777. In the playbook I just put: - name: testing script: /tmp/shell.sh The virtual machine is created with success and I figured out that the shell script is executed with success but in the localhost

Re: [ansible-project] Re: Ansible deployng VM and transfering and execute shell script on remote host

2020-03-05 Thread Stefan Hornburg (Racke)
On 3/5/20 2:14 PM, Julio Cesar Caraca wrote: > Hi Racke, > > Thanks for the answer! > > All configuration that I´ve been trying is based on this documentation: > https://docs.ansible.com/ansible/latest/modules/shell_module.html > > Although I´m getting error the virtual machine is been created

[ansible-project] Re: Ansible deployng VM and transfering and execute shell script on remote host

2020-03-05 Thread Julio Cesar Caraca
Hi Racke, Thanks for the answer! All configuration that I´ve been trying is based on this documentation: https://docs.ansible.com/ansible/latest/modules/shell_module.html Although I´m getting error the virtual machine is been created but without the copy and execution of shell script: [image: