Hi,

     I want to pass only one item from a list of variables throughout the 
entire playbook.

     For Example, I have six action tasks within the playbook and from the 
first action task output data using jinja2 template defined a variable 
using "set_fact" and appended the required values into a list.Now using 
"with_items" I could able to  pass all the values into other five action 
tasks. And each action task is getting executed with items defined for that 
play.

     But instead of passing all the values once, can I have a possibility 
like first item should pass through the five action tasks and second item 
should pass through the same five action tasks again and so on.Even I have 
checked with "loop_control" for passing each item through the five action 
tasks.

     Can we have an item to be passed through the entire playbook instead 
of using with_items where for each play we define this with_items to be 
passed as an item and get the output of all the items.

Thanks,
Acharya Tejaswi Indurthy.

-- 
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/3339b064-217b-47f3-948b-065d9080a9a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to