mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #3654 from MaxIV-KitsControls/devel
Fix nested loop for more than 3 elements
This commit is contained in:
@@ -34,7 +34,7 @@ def combine(a,b):
|
||||
results = []
|
||||
for x in a:
|
||||
for y in b:
|
||||
results.append([x,y])
|
||||
results.append(flatten([x,y]))
|
||||
return results
|
||||
|
||||
class LookupModule(object):
|
||||
|
||||
Reference in New Issue
Block a user