Hi Johannes,
Thank you for your feedback.
On 03-05-16 06:29, Johannes Kastl wrote:
On 02.05.16 20:35 Patrick Laimbock wrote:
with_nested:
- "{{ user_exists.results }}"
- "{{ mc_templates }}"
Please correct me if I am mistaken, I am no expert on this. Maybe
Brian can chime in.
That would be nice :)
I think you are creating a list here, which has two list elements. And
with_nested only works with dicts.
Got it, thanks. Taking a step back, if there is a simpler way to do this
then I'm all ears. The goal is: install one or more files in a directory
in the home of a user (skip if user does not exist).
Try to join these two lists together (maybe use {{ foo + bar }} or
something similar) as argument for with_nested.
I'll give that a try.
Thanks,
Patrick
--
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/b9540c39-88df-812a-382b-c71a76fc630a%40laimbock.com.
For more options, visit https://groups.google.com/d/optout.