Hi,

I'm wondering whether the following is possible with ansible only or not.

I've got a role that (besides other tasks) creates folders on remote
hosts for every available IP address/port combination [1].

What I would need now is to perform a local task on the ansible host for
every item/iteration of that loop.

Example:

playbook runs against 2 hosts:

hostA
 1.1.1.1
        80
        443
 2.2.2.2
        80
        443

hostB
 3.3.3.3
        80
 4.4.4.4
        80

In the end I'd like to have the following folders created on the host
running ansible:

1.1.1.1_80
1.1.1.1_443
2.2.2.2_80
2.2.2.2_443
3.3.3.3_80
4.4.4.4_80

Is that possible?

thanks,
nusenu


[1]
https://github.com/nusenu/ansible-relayor/blob/master/tasks/configure.yml#L3

-- 
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/564BA8A3.6000307%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to