-1

I have a problem with the implementation of script.sh as me failing to recognize the "ansible-playbook" command.

/tmp/vagrant-shell: line 25: ansible-playbook: command not found

P.D: Here is the link about script.sh

Is it possible to execute the Vagrant Ansible provisioner on a Windows host machine?

3
  • What OS is the guest/VM? Jan 20, 2014 at 8:41
  • the guest is ubuntu "precise" 64 bits Jan 21, 2014 at 10:04
  • How did you install ansible? from pip inside a virtualenv, pip outside a virtualenv, native OS packages? Jan 30, 2014 at 10:27

1 Answer 1

-1

Old question, but for posterity... I suspect you need to update your PATH to include the directory in which your ansible and ansible-playbook executables are located. Check if they're in your path on *nix:

which ansible-playbook

If not, fix that first, or try using the full path to the executable in the script.

This may be of interest, http://www.ansible.com/blog/windows-is-coming

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .