mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix incorrect module path for AnsibleError in action plugin base
This commit is contained in:
parent
f5c8055879
commit
467432bef5
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class ActionBase:
|
|||
|
||||
for environment in environments:
|
||||
if type(environment) != dict:
|
||||
raise errors.AnsibleError("environment must be a dictionary, received %s" % environment)
|
||||
raise AnsibleError("environment must be a dictionary, received %s" % environment)
|
||||
# very deliberatly using update here instead of combine_vars, as
|
||||
# these environment settings should not need to merge sub-dicts
|
||||
final_environment.update(environment)
|
||||
|
|
Loading…
Reference in a new issue