mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
dnf/yum - added install_weak_deps option (#50525)
* dnf/yum - added install_weak_deps option * skip creating weak dep packages if rpm doesn't support it * fix rpm check for older hosts
This commit is contained in:
parent
555732f8bb
commit
b967f4dcc1
7 changed files with 97 additions and 31 deletions
|
@ -190,6 +190,13 @@ options:
|
|||
default: 0
|
||||
type: int
|
||||
version_added: "2.8"
|
||||
install_weak_deps:
|
||||
description:
|
||||
- Will also install all packages linked by a weak dependency relation.
|
||||
- "NOTE: This feature requires yum >= 4 (RHEL/CentOS 8+)"
|
||||
type: bool
|
||||
default: "yes"
|
||||
version_added: "2.8"
|
||||
notes:
|
||||
- When used with a `loop:` each package will be processed individually,
|
||||
it is much more efficient to pass the list directly to the `name` option.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue