Brian Coca
unread,Jul 19, 2017, 5:39:35 PM7/19/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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