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:
parent
a8ae8f4d72
commit
40ce448657
2 changed files with 5 additions and 0 deletions
|
@ -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()
|
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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue