On Mon, Mar 17, 2014 at 10:46:38AM +0100, Miroslav Suchý wrote:
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?
It is part of the ansible repo:
./roles/base/files/common-scripts/conditional-restart.sh
You might be missing the part that installs it.
Pierre