Hello Brian,

Can you please help me figure out how to iterate over this registered
variable? Please see my question as follows:

https://groups.google.com/forum/#!searchin/ansible-project/iterate%7Csort:relevance/ansible-project/C9fSSQGq8pM/Pcjng6yeDAAJ

Thanks
Chanaka

On Tue, May 3, 2016 at 11:28 AM, Brian Coca <[email protected]> wrote:

> I think you want this:
>
>  with_dict: "{{hostvars[inventory_hostname]['rdsusers' + env]}}"
>
> ​
>
> ----------
> Brian Coca
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/ansible-project/uQhZ6pXchWo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CACVha7f41TzvQcvwSjR5bQrJG40jj
> kSjrMdF-Uexf4in3--q2A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CACVha7f41TzvQcvwSjR5bQrJG40jjkSjrMdF-Uexf4in3--q2A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPZMkv3-MkyC6vmtTis4i64Lxiq%3DZUH2n4bw-wKMB7dBuZcNww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to