I get the error below when trying to copy a directory (from local to local)

Anyone know why? (It doesn't work either with trailing slashes in src and 
destination, also destination does exist)

*
fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": 
"/etc/ansible/facts.d/stuff.fact", "failed": true, "msg": "[Errno 8] Exec 
format error", "rc": 8}

---
- hosts: local
  tasks:
    - name: Copy etc/ansible/hosts file to home/ansible dir
      copy:
        src: /home/ansible/stuff
        dest: /tmp/hosts

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e087ad9b-9d3f-495f-b3ed-51c669b185d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to