On 03.01.17 16:55 Johannes Kastl wrote: > How should the syntax be to achieve readability and correct looping?
I answer myself, seems I had a typo in there somewhere.
This works:
###############################
- name: "Some task with_nested"
...
with_nested:
- "{{ first_variable }}"
- [
".config/",
".config/autostart-scripts/",
".config/plasma-workspace/",
".config/plasma-workspace/shutdown/"
]
###############################
Thanks for listening ;-)
Johannes
--
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/38c907d1-d51f-4fc6-0024-3f9827e25abc%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
