Re: [ansible] Try out this conditional restart stuff.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux