Hey Michael, Guys,
Here is a thing which concerns me:
[root@cobbler.bfc ~]# ansible app01.bfc.kinja.com -m shell -a “ping index.hu”
^C32
ERROR: interrupted
[root@cobbler.bfc ~]# ansible app01.bfc.kinja.com -m shell -a “ps -ef | grep ping | grep -v grep”
app01.bfc.kinja.com | success | rc=0 >>
root 29620 29619 0 03:59 ? 00:00:00 ping index.hu
This looks harmless, but then you can do something like this:
[root@cobbler.bfc ~]# ansible all -m shell -a “rm -rf /obscuredirectory/error .*”
^C32
ERROR: interrupted
I know ssh host “command” works the same way, but is there a chance of real interrupting will be be implemented into ansible in the future?
Thanks,
nandi