yum.py (ansible-2.14.0) | : | yum.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 114 | skipping to change at line 114 | |||
update_cache: | update_cache: | |||
description: | description: | |||
- Force yum to check if cache is out of date and redownload if needed. | - Force yum to check if cache is out of date and redownload if needed. | |||
Has an effect only if state is I(present) or I(latest). | Has an effect only if state is I(present) or I(latest). | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
aliases: [ expire-cache ] | aliases: [ expire-cache ] | |||
version_added: "1.9" | version_added: "1.9" | |||
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. | |||
- Prior to 2.1 the code worked as if this was set to C(yes). | - Prior to 2.1 the code worked as if this was set to C(true). | |||
type: bool | type: bool | |||
default: "yes" | default: "yes" | |||
version_added: "2.1" | version_added: "2.1" | |||
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" | |||
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.5" | version_added: "2.5" | |||
installroot: | installroot: | |||
description: | description: | |||
- Specifies an alternative installroot, relative to which all packages | - Specifies an alternative installroot, relative to which all packages | |||
will be installed. | will be installed. | |||
default: "/" | default: "/" | |||
type: str | type: str | |||
version_added: "2.3" | version_added: "2.3" | |||
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. | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
version_added: "2.4" | version_added: "2.4" | |||
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. | |||
default: "no" | default: "no" | |||
type: bool | type: bool | |||
version_added: "2.6" | version_added: "2.6" | |||
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 189 | skipping to change at line 189 | |||
elements: str | elements: str | |||
version_added: "2.5" | version_added: "2.5" | |||
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. | |||
type: str | type: str | |||
version_added: "2.7" | version_added: "2.7" | |||
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) | |||
- "NOTE: This feature requires yum >= 3.4.3 (RHEL/CentOS 7+)" | - "NOTE: This feature requires yum >= 3.4.3 (RHEL/CentOS 7+)" | |||
type: bool | type: bool | |||
default: "no" | default: "no" | |||
version_added: "2.7" | version_added: "2.7" | |||
disable_excludes: | disable_excludes: | |||
description: | description: | |||
- Disable the excludes defined in YUM config files. | - Disable the excludes defined in YUM config files. | |||
- If set to C(all), disables all excludes. | - If set to C(all), disables all excludes. | |||
End of changes. 5 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added |