Hi,
I am trying to install ansible based on the http://docs.ansible.com/ansible/latest/intro_installation.html#running-from-sourceWhen I try to run the source ./hacking/env-setup, I am getting the following error
root@Ansible01:/home/test/ansible/verOct26/ansible# source ./hacking/env-setup
: command not found
: command not found
: command not found
bash: ./hacking/env-setup: line 20: syntax error near unexpected token elif' 'ash: ./hacking/env-setup: line 20:
elif [ $(basename – “$0”) = “env-setup” ]; then
root@Ansible01:/home/test/ansible/verOct26/ansible
What could be the issue? and How can I resolve this?
-Anil