ansible error on SLES 12

19 views
Skip to first unread message

madha...@gmail.com

unread,
Oct 17, 2017, 1:01:57 PM10/17/17
to Ansible Project
Followed the below steps to install ansible


wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py

 

#To resolve python.sh

zypper in python-devel

zypper in libopenssl-devel

 

pip install ansible

 

pip install paramiko PyYAML Jinja2 httplib2 six



Now when i run ansible like below


ansible ***** -i inventory -u user -a 'cat /etc/cron.daily/btrfs-balance' -k --ask-become-pass --become-method=sudo --become-user=root -c paramiko 


i get the below error. I get the same error when i run my play book as well.

 

from_buffer() cannot return the address of the raw string within a str or unicode or bytearray object
", 



Reply all
Reply to author
Forward
0 new messages