diff --git a/molecule/command/lint.py b/molecule/command/lint.py index 62c60d137..b6626acef 100644 --- a/molecule/command/lint.py +++ b/molecule/command/lint.py @@ -93,7 +93,13 @@ def execute(self): try: LOG.info("Executing: %s" % cmd) - run(cmd, shell=True, universal_newlines=True, check=True) + run( + cmd, + env=self._config.env, + shell=True, + universal_newlines=True, + check=True, + ) except Exception as e: util.sysexit_with_message("Lint failed: %s: %s" % (e, e))