mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Add shell out checks (#41545)
* Added error codes for shell_out checks * Added ignore lines for allowed Modules * Added shell out checks * Fixed pep8 * Updated regex to only match subprocess.Popen * Added failing modules to ignore.txt * Wrong postgresql module in ignore.txt * Removed bigip from ignore.txt
This commit is contained in:
committed by
ansibot
parent
355b56ef00
commit
a342538aba
@@ -83,6 +83,8 @@ Errors
|
||||
208 ``module_utils`` imports should import specific components, not ``*``
|
||||
209 Only the following ``from __future__`` imports are allowed:
|
||||
``absolute_import``, ``division``, and ``print_function``.
|
||||
210 ``subprocess.Popen`` used instead of ``module.run_command``
|
||||
211 ``os.call`` used instead of ``module.run_command``
|
||||
..
|
||||
--------- -------------------
|
||||
**3xx** **Documentation**
|
||||
|
||||
Reference in New Issue
Block a user