Hello guys,
I need to do something like:
`
- name: test
debug:
msg: “{{ item.0 }} → {{ item.1 }}”
with_together: - “{{ ips }}”
- with_sequence: start={{ cluster_start }} end={{ cluster_end }} format=%02x
`
Is there a way to do that?
Thanks!
David
Hello guys,
I need to do something like:
`
Is there a way to do that?
Thanks!
David
Nevermind guys,
Figure it out:
`
Cheers
David
with_sequence is the lookup plugin sequence so something like this
- "{{ lookup('sequence', 'start=' ~ cluster_start ~ ' end=' ~ cluster_end ~ ' format=%02x').split(',') }}"