ansible-test - do not validate blacklisted ps modules (#70376)

* ansible-test - do not validate blacklisted ps modules

* Update changelogs/fragments/validate-modules-ps-doc-blacklist.yaml

Co-authored-by: Matt Clay <matt@mystile.com>

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Jordan Borean 2020-07-01 07:59:53 +10:00 committed by GitHub
parent a8ae8f4d72
commit 40ce448657
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Do not try to validate PowerShell modules ``setup.ps1``, ``slurp.ps1``, and ``async_status.ps1``

View file

@ -2204,6 +2204,9 @@ class ModuleValidator(Validator):
self._check_for_os_call() self._check_for_os_call()
if self._powershell_module(): if self._powershell_module():
if self.basename in self.PS_DOC_BLACKLIST:
return
self._validate_ps_replacers() self._validate_ps_replacers()
docs_path = self._find_ps_docs_py_file() docs_path = self._find_ps_docs_py_file()