Subject: [ansible-project] double with_items and loops


On Friday, January 26, 2018 at 12:34:49 AM UTC-7, Kai Stian Olstad wrote:

Kai, thank you.  That is awesome.  I wouldn't have thought of that.  I do
have some follow-up questions, just to understand.

line: "{{ item[1] }}={{ vars[item[1] | lower] }}"
What does the = sign do here?  Is it overriding the with_nested item[1]?
What is vars specifying?  If I came close to ever doing this on my own I
wouldn't have added vars.... so I am curious.
I know what the rest of it is doing, but am a little fuzzy in regards to
the two things above.
 

--
To post to this group, send email to [EMAIL PROTECTED].