One predefined array [ 'one', 'two', 'three', 'four' ]
One dynamically generated like [ 1, 2, 3, 4 ]
I have some issue to build the second one. I have in mind function like range or sequence.
I tried to do the job with ansible sequence module but it is not possible to use it with nested loop:
`
[localhost ~] $ cat /tmp/my_result
one => 1
one => ,
one => 2
one => ,
one => 3
one => ,
one => 4
two => 1
two => ,
two => 2
two => ,
two => 3
two => ,
two => 4
three => 1
three => ,
three => 2
three => ,
three => 3
three => ,
three => 4
four => 1
four => ,
four => 2
four => ,
four => 3
four => ,
four => 4
[localhost ~] $