mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07:00
fixed environment inheritance
This commit is contained in:
parent
8aa732e0a4
commit
ae91cdfc98
3 changed files with 9 additions and 8 deletions
|
@ -116,6 +116,8 @@ class ActionBase:
|
|||
environments = [ environments ]
|
||||
|
||||
for environment in environments:
|
||||
if environment is None:
|
||||
continue
|
||||
if not isinstance(environment, dict):
|
||||
raise AnsibleError("environment must be a dictionary, received %s (%s)" % (environment, type(environment)))
|
||||
# very deliberatly using update here instead of combine_vars, as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue