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]> 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].
> 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/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/CAJ5XC8kXcsLXwLtNzANxmy_VJZaw6-Rb8ouy9N-fmjGmwmpC8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to