diff --git a/plays/filter_plugins/update_env.py b/plays/filter_plugins/update_env.py index eba3474..f798adb 100644 --- a/plays/filter_plugins/update_env.py +++ b/plays/filter_plugins/update_env.py @@ -2,8 +2,12 @@ def filter_update_env(config, env): + if config.get("env", False) is False: + return config + for key, val in env: config["env"][key] = val + return config