[ansible] Try out this conditional restart stuff.

Miroslav Suchý msuchy at redhat.com
Mon Mar 17 09:46:38 UTC 2014


On 03/14/2014 04:30 PM, Ralph Bean wrote:
> +- name: restart fedmsg-gateway
> +  command: /usr/local/bin/conditional-restart.sh fedmsg-gateway fedmsg-gateway

Ralph,
I tried to run copr-backend playbook and this notified and therefore executed, but failed, because

NOTIFIED: [restart fedmsg-gateway] ********************************************
failed: [209.132.184.142] => {"cmd": ["/usr/local/bin/conditional-restart.sh", "fedmsg-gateway", "fedmsg-gateway"], 
"failed": true, "item": "", "rc": 2} 

msg: [Errno 2] No such file or directory

and:
yum whatprovides /usr/local/bin/conditional-restart.sh
No matches found

So where I can get that file please?


-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys


More information about the infrastructure mailing list