Re: [PATCH] use a simpler syntax for the nrpe config

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

 



Le samedi 24 août 2013 à 12:50 -0600, Kevin Fenzi a écrit :
> On Sat, 24 Aug 2013 13:47:22 +0200
> misc@xxxxxxxx wrote:
> 
> > From: Michael Scherer <misc@xxxxxxxx>
> > 
> > ---
> >  roles/nagios_client/tasks/main.yml | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> > 
> > diff --git a/roles/nagios_client/tasks/main.yml
> > b/roles/nagios_client/tasks/main.yml index a04e3fb..373cd60 100644
> > --- a/roles/nagios_client/tasks/main.yml
> > +++ b/roles/nagios_client/tasks/main.yml
> > @@ -43,15 +43,15 @@
> >    - config
> >  
> >  - name: install nrpe client configs
> > -  template: src={{ item.src }} dest=/etc/nrpe.d/{{ item.dest }}
> > +  template: src={{ item }}.j2 dest=/etc/nrpe.d/{{ item.dest }}
> 
> ok, but item.dest no longer exists in your simplification, just
> item. ;) 

Indeed :/

I guess it would be simpler if I tested it before, but I didn't look how
hard it would do to use some vm for that.

-- 
Michael Scherer

_______________________________________________
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