mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix incorrect module path for AnsibleError in action plugin base
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user