1
0
Fork 0
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:
James Cammarata 2015-07-28 15:23:51 -04:00
parent f5c8055879
commit 467432bef5

View file

@ -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)