I'm experimenting with Ansible trying to use the raw command to run
"apt-get update && apt-get install python-simplejson" on several hosts
that are running Ubuntu 8.04 from a machine that have Ubuntu 12.04
with Python 2.7.3 and I get the following result back from the Ubuntu
8.04 host:
Thank you for the quick reply. And yes you were right assuming I was
running from devel, sorry for not mentioning that.
The fix was almost to easy, just one wrong character After changing
from results to result it works fine! I will file a ticket on that.
Just a quick additional question regarding the raw module? Is it
supposed to write output char by char instead of line by line like the
normal command mode?
I'm not sure exactly how to explain it but it looks like it outputs a
long line och characters instead of lines with linebreaks. Like this
output from ls -l /boot first in normal command mode:
It's nothing serious, I mean the command is working now, it just looks
a bit weird.
It may also be Ansible on my machine that is not working correctly. I
think I did run both make install, make debian and hacking/env-setup.
What is the best way to completely erase all traces of Ansible and
start all over with a fresh install again?
I saw this too and thought that was the intent of raw. I thought that was the primary difference between raw and shell – one encoded break while another did not.