This Role Has Been Deprecated: Please use the version in the oasis_roles.system Ansible Collection
This role: Updates all packages. Updating specific packages is not supported. Is not idempotent. Intended to be used during initial installation of software. Will perform the common "Update all packages" step found in many product installation guides.
Ansible 2.4 or higher
Red Hat Enterprise Linux 7 or equivalent
Valid Red Hat Subscriptions
Currently the following variables are supported:
-
package_updater_become
- Default: true. If this role needs administrator privileges, then use the Ansible become functionality (based off sudo). -
package_updater_become_user
- Default: root. If the role uses the become functionality for privilege escalation, then this is the name of the target user to change to.
None
This example would update all packages to the latest version and update the cache.
- hosts: package_updater-servers
roles:
- role: oasis_roles.package_updater
GPLv3
Steven Murray [email protected]