Reputation: 1499
I used ansible 2.0.1 to run some tasks in remote hosts . the problem was that ansible use the variable of my machine not remote machines for example I want to set the PATH . ansible use the PATH of my machine not of the remote host .
Upvotes: 0
Views: 104
Reputation: 114
You can try copying bash script over to remote host and execute it using Ansible.
Upvotes: 1