Merge "Add guard to ensure a mapping has a valid key"
This commit is contained in:
commit
befede0ac4
|
@ -206,7 +206,7 @@ class ActionModule(ActionBase):
|
||||||
module_args=dict(name=containers),
|
module_args=dict(name=containers),
|
||||||
task_vars=tvars
|
task_vars=tvars
|
||||||
)
|
)
|
||||||
return [c for c in result["containers"]]
|
return [c for c in result["containers"] if "containers" in result]
|
||||||
|
|
||||||
@tenacity.retry(
|
@tenacity.retry(
|
||||||
reraise=True,
|
reraise=True,
|
||||||
|
|
Loading…
Reference in New Issue