mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5954/3ec2fde2 backport][stable-6] Add attributes to package manager modules (#6062)
Add attributes to package manager modules (#5954)
Add attributes to package manager modules.
(cherry picked from commit 3ec2fde2c6
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
e4ce977079
commit
061b861211
48 changed files with 386 additions and 56 deletions
|
@ -26,6 +26,13 @@ notes:
|
||||||
If that one also fails, the module will fail.
|
If that one also fails, the module will fail.
|
||||||
requirements:
|
requirements:
|
||||||
- Ansible 2.9, ansible-base 2.10, or ansible-core 2.11 or newer
|
- Ansible 2.9, ansible-base 2.10, or ansible-core 2.11 or newer
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
type:
|
type:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,6 +19,13 @@ short_description: Manages apk packages
|
||||||
description:
|
description:
|
||||||
- Manages I(apk) packages for Alpine Linux.
|
- Manages I(apk) packages for Alpine Linux.
|
||||||
author: "Kevin Brebanov (@kbrebanov)"
|
author: "Kevin Brebanov (@kbrebanov)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
available:
|
available:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,6 +19,13 @@ description:
|
||||||
notes:
|
notes:
|
||||||
- This module works on ALT based distros.
|
- This module works on ALT based distros.
|
||||||
- Does NOT support checkmode, due to a limitation in apt-repo tool.
|
- Does NOT support checkmode, due to a limitation in apt-repo tool.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
repo:
|
repo:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -17,6 +17,13 @@ module: apt_rpm
|
||||||
short_description: APT-RPM package manager
|
short_description: APT-RPM package manager
|
||||||
description:
|
description:
|
||||||
- Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required.
|
- Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
package:
|
package:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manage bower packages with bower
|
||||||
description:
|
description:
|
||||||
- Manage bower packages with bower
|
- Manage bower packages with bower
|
||||||
author: "Michael Warkentin (@mwarkentin)"
|
author: "Michael Warkentin (@mwarkentin)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -15,6 +15,13 @@ module: bundler
|
||||||
short_description: Manage Ruby Gem dependencies with Bundler
|
short_description: Manage Ruby Gem dependencies with Bundler
|
||||||
description:
|
description:
|
||||||
- Manage installation and Gem version dependencies for Ruby using the Bundler gem
|
- Manage installation and Gem version dependencies for Ruby using the Bundler gem
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
executable:
|
executable:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -17,6 +17,13 @@ version_added: 4.3.0
|
||||||
description:
|
description:
|
||||||
- Manage Rust packages with cargo.
|
- Manage Rust packages with cargo.
|
||||||
author: "Radek Sprta (@radek-sprta)"
|
author: "Radek Sprta (@radek-sprta)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -21,6 +21,13 @@ description:
|
||||||
Composer is a tool for dependency management in PHP. It allows you to
|
Composer is a tool for dependency management in PHP. It allows you to
|
||||||
declare the dependent libraries your project needs and it will install
|
declare the dependent libraries your project needs and it will install
|
||||||
them in your project for you.
|
them in your project for you.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
command:
|
command:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -20,6 +20,13 @@ requirements:
|
||||||
- dnf-plugins-core
|
- dnf-plugins-core
|
||||||
notes:
|
notes:
|
||||||
- Supports C(check_mode).
|
- Supports C(check_mode).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
host:
|
host:
|
||||||
description: The Copr host to work with.
|
description: The Copr host to work with.
|
||||||
|
|
|
@ -16,6 +16,13 @@ module: cpanm
|
||||||
short_description: Manages Perl library dependencies
|
short_description: Manages Perl library dependencies
|
||||||
description:
|
description:
|
||||||
- Manage Perl library dependencies using cpanminus.
|
- Manage Perl library dependencies using cpanminus.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -18,6 +18,21 @@ description:
|
||||||
excludes all other versions of those packages. This allows you to for example
|
excludes all other versions of those packages. This allows you to for example
|
||||||
protect packages from being updated by newer versions. The state of the
|
protect packages from being updated by newer versions. The state of the
|
||||||
plugin that reflects locking of packages is the C(locklist).
|
plugin that reflects locking of packages is the C(locklist).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: partial
|
||||||
|
details:
|
||||||
|
- The logics of the C(versionlock) plugin for corner cases could be
|
||||||
|
confusing, so please take in account that this module will do its best to
|
||||||
|
give a C(check_mode) prediction on what is going to happen. In case of
|
||||||
|
doubt, check the documentation of the plugin.
|
||||||
|
- Sometimes the module could predict changes in C(check_mode) that will not
|
||||||
|
be such because C(versionlock) concludes that there is already a entry in
|
||||||
|
C(locklist) that already matches.
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -54,19 +69,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
default: present
|
default: present
|
||||||
notes:
|
notes:
|
||||||
- The logics of the C(versionlock) plugin for corner cases could be
|
|
||||||
confusing, so please take in account that this module will do its best to
|
|
||||||
give a C(check_mode) prediction on what is going to happen. In case of
|
|
||||||
doubt, check the documentation of the plugin.
|
|
||||||
- Sometimes the module could predict changes in C(check_mode) that will not
|
|
||||||
be such because C(versionlock) concludes that there is already a entry in
|
|
||||||
C(locklist) that already matches.
|
|
||||||
- In an ideal world, the C(versionlock) plugin would have a dry-run option to
|
- In an ideal world, the C(versionlock) plugin would have a dry-run option to
|
||||||
know for sure what is going to happen. So far we have to work with a best
|
know for sure what is going to happen. So far we have to work with a best
|
||||||
guess as close as possible to the behaviour inferred from its code.
|
guess as close as possible to the behaviour inferred from its code.
|
||||||
- For most of cases where you want to lock and unlock specific versions of a
|
- For most of cases where you want to lock and unlock specific versions of a
|
||||||
package, this works fairly well.
|
package, this works fairly well.
|
||||||
- Supports C(check_mode).
|
|
||||||
requirements:
|
requirements:
|
||||||
- dnf
|
- dnf
|
||||||
- dnf-plugin-versionlock
|
- dnf-plugin-versionlock
|
||||||
|
|
|
@ -27,6 +27,13 @@ description:
|
||||||
C(dpkg-divert) commandline tool. It can either create or remove a
|
C(dpkg-divert) commandline tool. It can either create or remove a
|
||||||
diversion for a given file, but also update an existing diversion
|
diversion for a given file, but also update an existing diversion
|
||||||
to modify its I(holder) and/or its I(divert) location.
|
to modify its I(holder) and/or its I(divert) location.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
path:
|
path:
|
||||||
description:
|
description:
|
||||||
|
@ -79,8 +86,6 @@ options:
|
||||||
- This parameter is ignored when I(rename=false).
|
- This parameter is ignored when I(rename=false).
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
notes:
|
|
||||||
- This module supports I(check_mode) and I(diff).
|
|
||||||
requirements:
|
requirements:
|
||||||
- dpkg-divert >= 1.15.0 (Debian family)
|
- dpkg-divert >= 1.15.0 (Debian family)
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -14,7 +14,14 @@ DOCUMENTATION = '''
|
||||||
module: easy_install
|
module: easy_install
|
||||||
short_description: Installs Python libraries
|
short_description: Installs Python libraries
|
||||||
description:
|
description:
|
||||||
- Installs Python libraries, optionally in a I(virtualenv)
|
- Installs Python libraries, optionally in a I(virtualenv)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -15,13 +15,20 @@ DOCUMENTATION = r'''
|
||||||
module: flatpak
|
module: flatpak
|
||||||
short_description: Manage flatpaks
|
short_description: Manage flatpaks
|
||||||
description:
|
description:
|
||||||
- Allows users to add or remove flatpaks.
|
- Allows users to add or remove flatpaks.
|
||||||
- See the M(community.general.flatpak_remote) module for managing flatpak remotes.
|
- See the M(community.general.flatpak_remote) module for managing flatpak remotes.
|
||||||
author:
|
author:
|
||||||
- John Kwiatkoski (@JayKayy)
|
- John Kwiatkoski (@JayKayy)
|
||||||
- Alexander Bethke (@oolongbrothers)
|
- Alexander Bethke (@oolongbrothers)
|
||||||
requirements:
|
requirements:
|
||||||
- flatpak
|
- flatpak
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
executable:
|
executable:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,17 +15,24 @@ DOCUMENTATION = r'''
|
||||||
module: flatpak_remote
|
module: flatpak_remote
|
||||||
short_description: Manage flatpak repository remotes
|
short_description: Manage flatpak repository remotes
|
||||||
description:
|
description:
|
||||||
- Allows users to add or remove flatpak remotes.
|
- Allows users to add or remove flatpak remotes.
|
||||||
- The flatpak remotes concept is comparable to what is called repositories in other packaging
|
- The flatpak remotes concept is comparable to what is called repositories in other packaging
|
||||||
formats.
|
formats.
|
||||||
- Currently, remote addition is only supported via I(flatpakrepo) file URLs.
|
- Currently, remote addition is only supported via I(flatpakrepo) file URLs.
|
||||||
- Existing remotes will not be updated.
|
- Existing remotes will not be updated.
|
||||||
- See the M(community.general.flatpak) module for managing flatpaks.
|
- See the M(community.general.flatpak) module for managing flatpaks.
|
||||||
author:
|
author:
|
||||||
- John Kwiatkoski (@JayKayy)
|
- John Kwiatkoski (@JayKayy)
|
||||||
- Alexander Bethke (@oolongbrothers)
|
- Alexander Bethke (@oolongbrothers)
|
||||||
requirements:
|
requirements:
|
||||||
- flatpak
|
- flatpak
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
executable:
|
executable:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ module: gem
|
||||||
short_description: Manage Ruby gems
|
short_description: Manage Ruby gems
|
||||||
description:
|
description:
|
||||||
- Manage installation and uninstallation of Ruby gems.
|
- Manage installation and uninstallation of Ruby gems.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -22,11 +22,17 @@ author:
|
||||||
- "Daniel Jaouen (@danieljaouen)"
|
- "Daniel Jaouen (@danieljaouen)"
|
||||||
- "Andrew Dunham (@andrew-d)"
|
- "Andrew Dunham (@andrew-d)"
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- homebrew must already be installed on the target system
|
||||||
- homebrew must already be installed on the target system
|
|
||||||
short_description: Package manager for Homebrew
|
short_description: Package manager for Homebrew
|
||||||
description:
|
description:
|
||||||
- Manages Homebrew packages
|
- Manages Homebrew packages
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,14 +15,19 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: homebrew_cask
|
module: homebrew_cask
|
||||||
author:
|
author:
|
||||||
- "Indrajit Raychaudhuri (@indrajitr)"
|
- "Indrajit Raychaudhuri (@indrajitr)"
|
||||||
- "Daniel Jaouen (@danieljaouen)"
|
- "Daniel Jaouen (@danieljaouen)"
|
||||||
- "Enric Lluelles (@enriclluelles)"
|
- "Enric Lluelles (@enriclluelles)"
|
||||||
requirements:
|
|
||||||
- "python >= 2.6"
|
|
||||||
short_description: Install and uninstall homebrew casks
|
short_description: Install and uninstall homebrew casks
|
||||||
description:
|
description:
|
||||||
- Manages Homebrew casks.
|
- Manages Homebrew casks.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -22,6 +22,13 @@ author:
|
||||||
short_description: Tap a Homebrew repository
|
short_description: Tap a Homebrew repository
|
||||||
description:
|
description:
|
||||||
- Tap external Homebrew repositories.
|
- Tap external Homebrew repositories.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -12,10 +12,17 @@ DOCUMENTATION = r'''
|
||||||
---
|
---
|
||||||
module: installp
|
module: installp
|
||||||
author:
|
author:
|
||||||
- Kairo Araujo (@kairoaraujo)
|
- Kairo Araujo (@kairoaraujo)
|
||||||
short_description: Manage packages on AIX
|
short_description: Manage packages on AIX
|
||||||
description:
|
description:
|
||||||
- Manage packages using 'installp' on AIX
|
- Manage packages using 'installp' on AIX
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
accept_license:
|
accept_license:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -21,6 +21,13 @@ description:
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- layman python module
|
- layman python module
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,6 +19,13 @@ author: "Jimmy Tang (@jcftang)"
|
||||||
short_description: Package manager for MacPorts
|
short_description: Package manager for MacPorts
|
||||||
description:
|
description:
|
||||||
- Manages MacPorts packages (ports)
|
- Manages MacPorts packages (ports)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ short_description: Manage node.js packages with npm
|
||||||
description:
|
description:
|
||||||
- Manage node.js packages with Node Package Manager (npm).
|
- Manage node.js packages with Node Package Manager (npm).
|
||||||
author: "Chris Hoffman (@chrishoffman)"
|
author: "Chris Hoffman (@chrishoffman)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -14,12 +14,17 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: openbsd_pkg
|
module: openbsd_pkg
|
||||||
author:
|
author:
|
||||||
- Patrik Lundin (@eest)
|
- Patrik Lundin (@eest)
|
||||||
short_description: Manage packages on OpenBSD
|
short_description: Manage packages on OpenBSD
|
||||||
description:
|
description:
|
||||||
- Manage packages on OpenBSD using the pkg tools.
|
- Manage packages on OpenBSD using the pkg tools.
|
||||||
requirements:
|
extends_documentation_fragment:
|
||||||
- python >= 2.5
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,13 @@ author: "Patrick Pelletier (@skinp)"
|
||||||
short_description: Package manager for OpenWrt and Openembedded/Yocto based Linux distributions
|
short_description: Package manager for OpenWrt and Openembedded/Yocto based Linux distributions
|
||||||
description:
|
description:
|
||||||
- Manages ipk packages for OpenWrt and Openembedded/Yocto based Linux distributions
|
- Manages ipk packages for OpenWrt and Openembedded/Yocto based Linux distributions
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -23,6 +23,13 @@ author:
|
||||||
- Aaron Bull Schaefer (@elasticdog) <aaron@elasticdog.com>
|
- Aaron Bull Schaefer (@elasticdog) <aaron@elasticdog.com>
|
||||||
- Maxime de Roucy (@tchernomax)
|
- Maxime de Roucy (@tchernomax)
|
||||||
- Jean Raby (@jraby)
|
- Jean Raby (@jraby)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -12,21 +12,27 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: pacman_key
|
module: pacman_key
|
||||||
author:
|
author:
|
||||||
- George Rawlinson (@grawlinson)
|
- George Rawlinson (@grawlinson)
|
||||||
version_added: "3.2.0"
|
version_added: "3.2.0"
|
||||||
short_description: Manage pacman's list of trusted keys
|
short_description: Manage pacman's list of trusted keys
|
||||||
description:
|
description:
|
||||||
- Add or remove gpg keys from the pacman keyring.
|
- Add or remove gpg keys from the pacman keyring.
|
||||||
notes:
|
notes:
|
||||||
- Use full-length key ID (40 characters).
|
- Use full-length key ID (40 characters).
|
||||||
- Keys will be verified when using I(data), I(file), or I(url) unless I(verify) is overridden.
|
- Keys will be verified when using I(data), I(file), or I(url) unless I(verify) is overridden.
|
||||||
- Keys will be locally signed after being imported into the keyring.
|
- Keys will be locally signed after being imported into the keyring.
|
||||||
- If the key ID exists in the keyring, the key will not be added unless I(force_update) is specified.
|
- If the key ID exists in the keyring, the key will not be added unless I(force_update) is specified.
|
||||||
- I(data), I(file), I(url), and I(keyserver) are mutually exclusive.
|
- I(data), I(file), I(url), and I(keyserver) are mutually exclusive.
|
||||||
- Supports C(check_mode).
|
|
||||||
requirements:
|
requirements:
|
||||||
- gpg
|
- gpg
|
||||||
- pacman-key
|
- pacman-key
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
id:
|
id:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,6 +20,13 @@ description:
|
||||||
- Manage PHP packages with the pear package manager.
|
- Manage PHP packages with the pear package manager.
|
||||||
author:
|
author:
|
||||||
- Jonathan Lestrelin (@jle64) <jonathan.lestrelin@gmail.com>
|
- Jonathan Lestrelin (@jle64) <jonathan.lestrelin@gmail.com>
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manages applications installed with pipx
|
||||||
version_added: 3.8.0
|
version_added: 3.8.0
|
||||||
description:
|
description:
|
||||||
- Manage Python applications installed in isolated virtualenvs using pipx.
|
- Manage Python applications installed in isolated virtualenvs using pipx.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -18,6 +18,13 @@ description:
|
||||||
- IPS packages are the native packages in Solaris 11 and higher.
|
- IPS packages are the native packages in Solaris 11 and higher.
|
||||||
notes:
|
notes:
|
||||||
- The naming of IPS packages is explained at U(http://www.oracle.com/technetwork/articles/servers-storage-admin/ips-package-versioning-2232906.html).
|
- The naming of IPS packages is explained at U(http://www.oracle.com/technetwork/articles/servers-storage-admin/ips-package-versioning-2232906.html).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,6 +19,13 @@ description:
|
||||||
- IPS packages are the native packages in Solaris 11 and higher.
|
- IPS packages are the native packages in Solaris 11 and higher.
|
||||||
- This modules will configure which publishers a client will download IPS
|
- This modules will configure which publishers a client will download IPS
|
||||||
packages from.
|
packages from.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -31,6 +31,13 @@ notes:
|
||||||
- "Known bug with pkgin < 0.8.0: if a package is removed and another
|
- "Known bug with pkgin < 0.8.0: if a package is removed and another
|
||||||
package depends on it, the other package will be silently removed as
|
package depends on it, the other package will be silently removed as
|
||||||
well. New to Ansible 1.9: check-mode support."
|
well. New to Ansible 1.9: check-mode support."
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,6 +20,13 @@ module: pkgng
|
||||||
short_description: Package manager for FreeBSD >= 9.0
|
short_description: Package manager for FreeBSD >= 9.0
|
||||||
description:
|
description:
|
||||||
- Manage binary packages for FreeBSD using 'pkgng' which is available in versions after 9.0.
|
- Manage binary packages for FreeBSD using 'pkgng' which is available in versions after 9.0.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -23,6 +23,15 @@ description:
|
||||||
author:
|
author:
|
||||||
- Alexander Winkler (@dermute)
|
- Alexander Winkler (@dermute)
|
||||||
- David Ponessa (@scathatheworm)
|
- David Ponessa (@scathatheworm)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
details:
|
||||||
|
- In order to check the availability of packages, the catalog cache under C(/var/opt/csw/pkgutil) may be refreshed even in check mode.
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -57,8 +66,6 @@ options:
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
version_added: 1.2.0
|
version_added: 1.2.0
|
||||||
notes:
|
|
||||||
- In order to check the availability of packages, the catalog cache under C(/var/opt/csw/pkgutil) may be refreshed even in check mode.
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = r'''
|
EXAMPLES = r'''
|
||||||
|
|
|
@ -21,6 +21,15 @@ short_description: Package manager for Gentoo
|
||||||
description:
|
description:
|
||||||
- Manages Gentoo packages
|
- Manages Gentoo packages
|
||||||
|
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
package:
|
package:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,13 @@ module: portinstall
|
||||||
short_description: Installing packages from FreeBSD's ports system
|
short_description: Installing packages from FreeBSD's ports system
|
||||||
description:
|
description:
|
||||||
- Manage packages for FreeBSD using 'portinstall'.
|
- Manage packages for FreeBSD using 'portinstall'.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -17,6 +17,13 @@ short_description: Install or uninstall overlay additional packages
|
||||||
version_added: "2.0.0"
|
version_added: "2.0.0"
|
||||||
description:
|
description:
|
||||||
- Install or uninstall overlay additional packages using C(rpm-ostree) command.
|
- Install or uninstall overlay additional packages using C(rpm-ostree) command.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -34,10 +41,8 @@ options:
|
||||||
default: 'present'
|
default: 'present'
|
||||||
type: str
|
type: str
|
||||||
author:
|
author:
|
||||||
- Dusty Mabe (@dustymabe)
|
- Dusty Mabe (@dustymabe)
|
||||||
- Abhijeet Kasurde (@Akasurde)
|
- Abhijeet Kasurde (@Akasurde)
|
||||||
notes:
|
|
||||||
- Does not support C(check_mode).
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = r'''
|
EXAMPLES = r'''
|
||||||
|
|
|
@ -22,6 +22,13 @@ short_description: Package manager for Slackware >= 12.2
|
||||||
description:
|
description:
|
||||||
- Manage binary packages for Slackware using 'slackpkg' which
|
- Manage binary packages for Slackware using 'slackpkg' which
|
||||||
is available in versions after 12.2.
|
is available in versions after 12.2.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,13 @@ module: snap
|
||||||
short_description: Manages snaps
|
short_description: Manages snaps
|
||||||
description:
|
description:
|
||||||
- "Manages snaps packages."
|
- "Manages snaps packages."
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manages snap aliases
|
||||||
version_added: 4.0.0
|
version_added: 4.0.0
|
||||||
description:
|
description:
|
||||||
- "Manages snaps aliases."
|
- "Manages snaps aliases."
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -21,6 +21,13 @@ description:
|
||||||
- Note that this is a very basic packaging system. It will not enforce
|
- Note that this is a very basic packaging system. It will not enforce
|
||||||
dependencies on install or remove.
|
dependencies on install or remove.
|
||||||
author: "Boyd Adamson (@brontitall)"
|
author: "Boyd Adamson (@brontitall)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,15 @@ short_description: Manage OpenBSD system patches
|
||||||
description:
|
description:
|
||||||
- "Manage OpenBSD system patches using syspatch."
|
- "Manage OpenBSD system patches using syspatch."
|
||||||
|
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
revert:
|
revert:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ short_description: Manage OpenBSD system upgrades
|
||||||
version_added: 1.1.0
|
version_added: 1.1.0
|
||||||
description:
|
description:
|
||||||
- Manage OpenBSD system upgrades using sysupgrade.
|
- Manage OpenBSD system upgrades using sysupgrade.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
snapshot:
|
snapshot:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,6 +19,13 @@ description:
|
||||||
author:
|
author:
|
||||||
- "Dino Occhialini (@dinoocch)"
|
- "Dino Occhialini (@dinoocch)"
|
||||||
- "Michael Aldridge (@the-maldridge)"
|
- "Michael Aldridge (@the-maldridge)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,6 +20,13 @@ description:
|
||||||
author:
|
author:
|
||||||
- "David Gunter (@verkaufer)"
|
- "David Gunter (@verkaufer)"
|
||||||
- "Chris Hoffman (@chrishoffman), creator of NPM Ansible module)"
|
- "Chris Hoffman (@chrishoffman), creator of NPM Ansible module)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -14,7 +14,14 @@ module: yum_versionlock
|
||||||
version_added: 2.0.0
|
version_added: 2.0.0
|
||||||
short_description: Locks / unlocks a installed package(s) from being updated by yum package manager
|
short_description: Locks / unlocks a installed package(s) from being updated by yum package manager
|
||||||
description:
|
description:
|
||||||
- This module adds installed packages to yum versionlock to prevent the package(s) from being updated.
|
- This module adds installed packages to yum versionlock to prevent the package(s) from being updated.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -31,7 +38,6 @@ options:
|
||||||
default: present
|
default: present
|
||||||
notes:
|
notes:
|
||||||
- Requires yum-plugin-versionlock package on the remote node.
|
- Requires yum-plugin-versionlock package on the remote node.
|
||||||
- Supports C(check_mode).
|
|
||||||
requirements:
|
requirements:
|
||||||
- yum
|
- yum
|
||||||
- yum-versionlock
|
- yum-versionlock
|
||||||
|
|
|
@ -31,6 +31,14 @@ short_description: Manage packages on SUSE and openSUSE
|
||||||
description:
|
description:
|
||||||
- Manage packages on SUSE and openSUSE using the zypper and rpm tools.
|
- Manage packages on SUSE and openSUSE using the zypper and rpm tools.
|
||||||
- Also supports transactional updates, by running zypper inside C(/sbin/transactional-update --continue --drop-if-no-change --quiet run).
|
- Also supports transactional updates, by running zypper inside C(/sbin/transactional-update --continue --drop-if-no-change --quiet run).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,13 @@ author: "Matthias Vogelgesang (@matze)"
|
||||||
short_description: Add and remove Zypper repositories
|
short_description: Add and remove Zypper repositories
|
||||||
description:
|
description:
|
||||||
- Add or remove Zypper repositories on SUSE and openSUSE
|
- Add or remove Zypper repositories on SUSE and openSUSE
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue