OS Package Update
To install multiple packages on target nodes in a bulk operation, the package_update.yml
playbook can be leveraged.
Prerequisites
All target nodes should be running RHEL or Rocky (Versions 8.4, 8.5 or 8.6).
Download the packages (RPMs) for the target nodes and place them in an empty folder:
/install/<custom folder>
.Note
Do not use ISO files for updates or package installations.
Create a package list by creating the following text file (For packages that are not in RHEL repos, name the file
update.otherpkgs.pkglist
. For OS packages,xxxx.pkglist
) and placing it with the RPMs:<package1>-<version1> <package2>-<version2> <package3>-<version3>
To customize the package update, enter the following parameters in utils/package_update_config.yml
:
Parameter |
Details |
---|---|
|
The operating system in use on the target compute nodes.
|
|
OS version of target nodes in the cluster. |
|
|
|
|
|
Indicates whether the packages to be installed are Choices:
|
|
Comma separated list of all target nodes in the cluster.
|
|
Indicates whether the remote nodes listed will be rebooted. Choices:
|
To run the playbook, run the following commands:
cd utils
ansible-playbook package_update.yml
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.