Well, there are many different behaviours, depends on what you want to do, here is simple example:
- import_tasks: x.yml with_items: [1,2,3] This willi import x.yml one time and every imported task will now run and loop over 1,2,3 - include_tasks: x.yml with_items: [1,2,3] This will include x.yml 3 times and set the 'item' variable to 1, 2 and 3 respectively ---------- 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/CACVha7cxF0e2ma-bTdj0S%2BUE%3DX%3DkbXC7W21_5AKgxYPfqectAw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
