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>
(cherry picked from commit 40ce448657)
pull/70406/head
Jordan Borean 4 years ago committed by Matt Clay
parent 73ee85145b
commit 70da336de9

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

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

Loading…
Cancel
Save