new for affordable.
I installed available in ubuntu vm 14.04.1 using the ppa installation
user@ubuntu :~$ ansible --version ansible 1.7
And created the hosts only with localhost
user@ubuntu :~$ cat hosts localhost
When I try to run this simple command
user@ubuntu :~$ ansible -i hosts all -m ping --ask-pass SSH password: ERROR: The file hosts is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with `chmod -x hosts`.
UPDATE , when I follow the instructions to remove the runtime for the hosts , it works.
But the message is still rather strange for me why do I need to execute the hosts file.
What happened to this?
source share