From 001e64d83ccf9b3e417ec8155b31ec2c9d0b7f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Charlier?= Date: Thu, 9 Sep 2021 16:05:55 +0200 Subject: [PATCH] Restore option to disable galaxy dependency check (#3236) (cherry picked from commit 60ed58ad8ccfbbb719ad01a011e018dd7254f5f9) --- src/molecule/dependency/ansible_galaxy/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/molecule/dependency/ansible_galaxy/base.py b/src/molecule/dependency/ansible_galaxy/base.py index bc731d674..60d85309f 100644 --- a/src/molecule/dependency/ansible_galaxy/base.py +++ b/src/molecule/dependency/ansible_galaxy/base.py @@ -113,11 +113,11 @@ def bake(self): ) def execute(self): - super().execute() if not self.enabled: msg = "Skipping, dependency is disabled." LOG.warning(msg) return + super().execute() if not self._has_requirements_file(): msg = "Skipping, missing the requirements file."