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

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

 



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. ;) 

But thanks for the simplifcation. 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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