Document install_python_apt option of apt_repository (#72959)
* Update lib/ansible/modules/apt_repository.py * Remove unnecessary ignored sanity tests Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com> Co-authored-by: Amin Vakil <info@aminvakil.com>
This commit is contained in:
parent
61f0d6b919
commit
ae74d871a7
2 changed files with 10 additions and 3 deletions
|
@ -78,6 +78,16 @@ options:
|
|||
a non-Ubuntu target (for example, Debian or Mint).
|
||||
type: str
|
||||
version_added: '2.3'
|
||||
install_python_apt:
|
||||
description:
|
||||
- Whether to automatically try to install the Python apt library or not, if it is not already installed.
|
||||
Without this library, the module does not work.
|
||||
- Runs C(apt-get install python-apt) for Python 2, and C(apt-get install python3-apt) for Python 3.
|
||||
- Only works with the system Python 2 or Python 3. If you are using a Python on the remote that is not
|
||||
the system Python, set I(install_python_apt=false) and ensure that the Python apt library
|
||||
for your Python version is installed some other way.
|
||||
type: bool
|
||||
default: true
|
||||
author:
|
||||
- Alexander Saltanov (@sashka)
|
||||
version_added: "0.7"
|
||||
|
|
|
@ -73,10 +73,7 @@ lib/ansible/module_utils/urls.py pylint:blacklisted-name
|
|||
lib/ansible/module_utils/urls.py replace-urlopen
|
||||
lib/ansible/modules/apt.py validate-modules:parameter-invalid
|
||||
lib/ansible/modules/apt_key.py validate-modules:parameter-type-not-in-doc
|
||||
lib/ansible/modules/apt_repository.py validate-modules:doc-default-does-not-match-spec
|
||||
lib/ansible/modules/apt_repository.py validate-modules:parameter-invalid
|
||||
lib/ansible/modules/apt_repository.py validate-modules:parameter-type-not-in-doc
|
||||
lib/ansible/modules/apt_repository.py validate-modules:undocumented-parameter
|
||||
lib/ansible/modules/assemble.py validate-modules:nonexistent-parameter-documented
|
||||
lib/ansible/modules/async_status.py use-argspec-type-path
|
||||
lib/ansible/modules/async_status.py validate-modules!skip
|
||||
|
|
Loading…
Reference in a new issue