After this step, am getting an error while trying to install ansible.
[oracle@TCS-PERF-TEST-DB01 ansible]$ ansible all -m ping --ask-pass
Traceback (most recent call last):
File “/home/oracle/ansible/ansible/bin/ansible”, line 25, in ?
from ansible.runner import Runner
File “/home/oracle/ansible/ansible/lib/ansible/runner/init.py”, line 530
with open(in_path) as f:
^
SyntaxError: invalid syntax
Can some one pls help me with this. plase let me know why am i gtting this error.
yarlagadda ramya wrote:
After this step, am getting an error while trying to install ansible.
[oracle@TCS-PERF-TEST-DB01 ansible]$ ansible all -m ping --ask-pass
Traceback (most recent call last):
File "/home/oracle/ansible/ansible/bin/ansible", line 25, in ?
from ansible.runner import Runner
File "/home/oracle/ansible/ansible/lib/ansible/runner/__init__.py", line
530
with open(in_path) as f:
^
SyntaxError: invalid syntax
Can some one pls help me with this. plase let me know why am i gtting this
error.
You need Python 2.6 - 2.7 to run ansible.
Daniel
What version of python are you using?
Brian Coca