Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Latest commit

 

History

History
61 lines (40 loc) · 1.44 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.44 KB

This Role Has Been Deprecated: Please use the version in the oasis_roles.system Ansible Collection

Build Status

package_updater

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.

Requirements

Ansible 2.4 or higher

Red Hat Enterprise Linux 7 or equivalent

Valid Red Hat Subscriptions

Role Variables

Currently the following variables are supported:

General

  • 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.

Dependencies

None

Example Playbook

This example would update all packages to the latest version and update the cache.

- hosts: package_updater-servers
  roles:
    - role: oasis_roles.package_updater

License

GPLv3

Author Information

Steven Murray [email protected]