Hi,

While i am just testing ping adhoc command for my Centos5 environment below 
is the error i got


$ ansible all -i tmp3.txt -m ping -u root -k

TESTSRV | FAILED! => {
    "changed": false,
    "failed": true,
    "module_stderr": "",
    "module_stdout": "  File 
\"/tmp/ansible_nEiCUn/ansible_module_ping.py\", line 8\r\n    from 
__future__ import absolute_import, division, print_function\r\nSyntaxError: 
future feature absolute_import is not defined\r\n",
    "msg": "MODULE FAILURE",
    "rc": 0
}

✗ pip show ansible
Name: ansible
Version: 2.4.1.0
Summary: Radically simple IT automation
Home-page: https://ansible.com/
Author: Ansible, Inc.
Author-email: [email protected]
License: GPLv3+
Location: /Users/foo/ansible-playbooks/venv/lib/python2.7/site-packages
Requires: jinja2, PyYAML, setuptools, cryptography, paramiko

at the TESTSRV

 # cat /etc/redhat-release 
CentOS release 5.4 (Final)

# python
Python 2.4.3 (#1, Jan  9 2013, 06:47:03) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Any idea what is missing at the remote side?

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/803d6d46-87c2-46d6-ba0b-db96e711fd43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to