diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index 77e8ad28c7..56eaefc580 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -310,7 +310,8 @@ class ModuleValidator(Validator): self._find_ps_docs_py_file() self._check_for_gpl3_header() - self._check_interpreter(powershell=self._powershell_module()) + if not self._just_docs(): + self._check_interpreter(powershell=self._powershell_module()) class PythonPackageValidator(Validator):