I’ve installed Ansible 1.2.3 on Ubuntu Precise 64.
Running ansible-playbook -i ansible_hosts playbook.yml
give me this error:
ERROR: problem running ansible_hosts --list ([Errno 8] Exec format error)
Here’s the content of ansible_hosts
:
[development]
localhost ansible_connection=local
and playbook.yml
:
---
- hosts: development
sudo: yes
tasks:
- name: install curl
apt: pkg=curl update_cache=yes
How can I make this work?
On StackOverflow: http://stackoverflow.com/q/18385925/351398