mndhr
mndhr

Reputation: 1499

ansible 2.0.1 environment variables

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

Answers (1)

Aleksandr Rogozin
Aleksandr Rogozin

Reputation: 114

You can try copying bash script over to remote host and execute it using Ansible.

Upvotes: 1

Related Questions