dnf.py (ansible-2.14.0) | : | dnf.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 97 | skipping to change at line 97 | |||
releasever: | releasever: | |||
description: | description: | |||
- Specifies an alternative release from which all packages will be | - Specifies an alternative release from which all packages will be | |||
installed. | installed. | |||
version_added: "2.6" | version_added: "2.6" | |||
type: str | type: str | |||
autoremove: | autoremove: | |||
description: | description: | |||
- If C(yes), removes all "leaf" packages from the system that were origina lly | - If C(true), removes all "leaf" packages from the system that were origin ally | |||
installed as dependencies of user-installed packages but which are no lo nger | installed as dependencies of user-installed packages but which are no lo nger | |||
required by any such package. Should be used alone or when state is I(ab sent) | required by any such package. Should be used alone or when state is I(ab sent) | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
version_added: "2.4" | version_added: "2.4" | |||
exclude: | exclude: | |||
description: | description: | |||
- Package name(s) to exclude when state=present, or latest. This can be a | - Package name(s) to exclude when state=present, or latest. This can be a | |||
list or a comma separated string. | list or a comma separated string. | |||
version_added: "2.7" | version_added: "2.7" | |||
skipping to change at line 134 | skipping to change at line 134 | |||
version_added: "2.7" | version_added: "2.7" | |||
update_only: | update_only: | |||
description: | description: | |||
- When using latest, only update installed packages. Do not install packag es. | - When using latest, only update installed packages. Do not install packag es. | |||
- Has an effect only if state is I(latest) | - Has an effect only if state is I(latest) | |||
default: "no" | default: "no" | |||
type: bool | type: bool | |||
version_added: "2.7" | version_added: "2.7" | |||
security: | security: | |||
description: | description: | |||
- If set to C(yes), and C(state=latest) then only installs updates that ha ve been marked security related. | - If set to C(true), and C(state=latest) then only installs updates that h ave been marked security related. | |||
- Note that, similar to C(dnf upgrade-minimal), this filter applies to dep endencies as well. | - Note that, similar to C(dnf upgrade-minimal), this filter applies to dep endencies as well. | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
version_added: "2.7" | version_added: "2.7" | |||
bugfix: | bugfix: | |||
description: | description: | |||
- If set to C(yes), and C(state=latest) then only installs updates that ha ve been marked bugfix related. | - If set to C(true), and C(state=latest) then only installs updates that h ave been marked bugfix related. | |||
- Note that, similar to C(dnf upgrade-minimal), this filter applies to dep endencies as well. | - Note that, similar to C(dnf upgrade-minimal), this filter applies to dep endencies as well. | |||
default: "no" | default: "no" | |||
type: bool | type: bool | |||
version_added: "2.7" | version_added: "2.7" | |||
enable_plugin: | enable_plugin: | |||
description: | description: | |||
- I(Plugin) name to enable for the install/update operation. | - I(Plugin) name to enable for the install/update operation. | |||
The enabled plugin will not persist beyond the transaction. | The enabled plugin will not persist beyond the transaction. | |||
version_added: "2.7" | version_added: "2.7" | |||
type: list | type: list | |||
skipping to change at line 170 | skipping to change at line 170 | |||
disable_excludes: | disable_excludes: | |||
description: | description: | |||
- Disable the excludes defined in DNF config files. | - Disable the excludes defined in DNF config files. | |||
- If set to C(all), disables all excludes. | - If set to C(all), disables all excludes. | |||
- If set to C(main), disable excludes defined in [main] in dnf.conf. | - If set to C(main), disable excludes defined in [main] in dnf.conf. | |||
- If set to C(repoid), disable excludes defined for given repo id. | - If set to C(repoid), disable excludes defined for given repo id. | |||
version_added: "2.7" | version_added: "2.7" | |||
type: str | type: str | |||
validate_certs: | validate_certs: | |||
description: | description: | |||
- This only applies if using a https url as the source of the rpm. e.g. fo | - This only applies if using a https url as the source of the rpm. e.g. fo | |||
r localinstall. If set to C(no), the SSL certificates will not be validated. | r localinstall. If set to C(false), the SSL certificates will not be validated. | |||
- This should only set to C(no) used on personally controlled sites using | - This should only set to C(false) used on personally controlled sites usi | |||
self-signed certificates as it avoids verifying the source site. | ng self-signed certificates as it avoids verifying the source site. | |||
type: bool | type: bool | |||
default: "yes" | default: "yes" | |||
version_added: "2.7" | version_added: "2.7" | |||
sslverify: | sslverify: | |||
description: | description: | |||
- Disables SSL validation of the repository server for this transaction. | - Disables SSL validation of the repository server for this transaction. | |||
- This should be set to C(no) if one of the configured repositories is usi ng an untrusted or self-signed certificate. | - This should be set to C(false) if one of the configured repositories is using an untrusted or self-signed certificate. | |||
type: bool | type: bool | |||
default: "yes" | default: "yes" | |||
version_added: "2.13" | version_added: "2.13" | |||
allow_downgrade: | allow_downgrade: | |||
description: | description: | |||
- Specify if the named package and version is allowed to downgrade | - Specify if the named package and version is allowed to downgrade | |||
a maybe already installed higher version of that package. | a maybe already installed higher version of that package. | |||
Note that setting allow_downgrade=True can make this module | Note that setting allow_downgrade=True can make this module | |||
behave in a non-idempotent way. The task could end up with a set | behave in a non-idempotent way. The task could end up with a set | |||
of packages that does not match the complete list of specified | of packages that does not match the complete list of specified | |||
skipping to change at line 229 | skipping to change at line 229 | |||
default: "yes" | default: "yes" | |||
version_added: "2.8" | version_added: "2.8" | |||
download_dir: | download_dir: | |||
description: | description: | |||
- Specifies an alternate directory to store packages. | - Specifies an alternate directory to store packages. | |||
- Has an effect only if I(download_only) is specified. | - Has an effect only if I(download_only) is specified. | |||
type: str | type: str | |||
version_added: "2.8" | version_added: "2.8" | |||
allowerasing: | allowerasing: | |||
description: | description: | |||
- If C(yes) it allows erasing of installed packages to resolve depende ncies. | - If C(true) it allows erasing of installed packages to resolve depend encies. | |||
required: false | required: false | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
version_added: "2.10" | version_added: "2.10" | |||
nobest: | nobest: | |||
description: | description: | |||
- Set best option to False, so that transactions are not limited to best c andidates only. | - Set best option to False, so that transactions are not limited to best c andidates only. | |||
required: false | required: false | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
End of changes. 6 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added |