simple json key returner for what we dump

This commit is contained in:
Seth Vidal 2013-07-03 22:46:34 +00:00
parent fbedc5fb60
commit 1efa8496d5
2 changed files with 30 additions and 1 deletions

View file

@ -30,7 +30,10 @@ do
else
if [ "$verbose" == 'yes' ]; then
echo $json| python -m json.tool
fi
else
echo $json| /srv/web/infra/ansible/scripts/keyreturn task_userid
echo $json| /srv/web/infra/ansible/scripts/keyreturn cmd
fi
fi
done
@ -64,6 +67,7 @@ fi
for pb in $logpath/$where/; do
if [ -d $pb/$ts ]; then
echo `basename $pb`
search_logs $pb/$ts/*/*.log
fi
done