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
", 



-- 
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/de5c4140-8a9d-494b-ae39-9eb136d79c7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to