Thanks,

will give that a go

On Friday, 21 November 2014 15:57:11 UTC, Brian Coca wrote:
>
> you can use set_fact for each host before calling the template 
>
> On Fri, Nov 21, 2014 at 10:44 AM, James Morgan <[email protected] 
> <javascript:>> wrote: 
> > Hi, 
> > 
> > Thanks though this is in a loop inside the templates. I have many hosts 
> > 
> > I was thinking of building up a dictionary in the playbook for each 
> host. 
> > 
> > Was a little unsure how to build that up 
> > 
> > 
> > On Friday, 21 November 2014 15:23:46 UTC, Brian Coca wrote: 
> >> 
> >> shell: dig... 
> >> register: digoutput 
> >> now the digoutput  variable has the output of dig 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Ansible Project" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/f6f30f58-10e8-42a4-891f-5e40262e94c3%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Brian Coca 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b9f003de-74ae-4cf8-99aa-f59f1b201150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to