37418/saying-problem-running-ansible-format-running-ansible-playbook
I have ansible 1.2.3 installed and I tried running the ansible playbook using the following command:
ansible-playbook -i ansible_hosts playbook.yml
I get the following error:
ERROR: problem running ansible_hosts --list ([Errno 8] Exec format error)
Here's the playbook:
--- - hosts: development sudo: yes tasks: - name: install curl apt: pkg=curl update_cache=yes
Hey @Anjana, you need to remove execution rights on ansible_hosts
chmod a-x ansible_hosts
if this doesn't work. try it with sudo
sudo chmod a-x ansible_hosts
Also, remove the execute permission for the ansible files using the following command:
find . -type f -exec chmod -x {} \;
Hey @Neha, add the following line to ...READ MORE
Hey, @Nishit seems like you've made a ...READ MORE
Remove the previous processes before running this ...READ MORE
You get this error because ansible was ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
First of all make sure you have ...READ MORE
I hadn't created the ssh connection between ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.