Can you explain your use case in less abstract ways?
On Wed, Oct 22, 2014 at 2:49 AM, chen Augustin <[email protected]>
wrote:
> I have a play which has two tasks, something looks like the following
> snippet of code. The Task2 has dependency on the result of Task 1. And I
> want to loop over the two tasks, is it feasible? It appears the
> ‘with_items’ only loops over one task. The ‘include + with_items’ seems to
> be a solution, but it gets deprecated since Ansible 1.6. Do you have other
> solutions? Please advise.
>
>
>
> - name: Task 1
>
> Module 1:
>
> register: result
>
>
>
> - name: Task 2
>
> Module 2:
>
> Parameter: “{{ result }}”
>
> --
> 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/2fbfed74-23bb-4152-b588-836caafdc4b8%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2fbfed74-23bb-4152-b588-836caafdc4b8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CA%2BnsWgzR-GznLnNp7MQ0%2BVRDif0Xa%3DuB9NCigKL6cW5Z_jC%3Dwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.