Ensure packages exist in a RHEL for Edge rpm-ostree based system
Version added: 1.5.0
- Compatibility layer for using the "package" module for RHEL for Edge systems utilizing the RHEL System Roles.
The below requirements are needed on the host that executes this module.
- rpm-ostree
Note
- This module does not support installing or removing packages to/from an overlay as this is not supported by RHEL for Edge, packages needed should be defined in the osbuild Blueprint and provided to Image Builder at build time. This module exists only for package
module compatibility.
- name: Ensure htop and ansible are installed on rpm-ostree based RHEL
ansible.posix.rhel_rpm_ostree:
name:
- htop
- ansible
state: present
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
always |
status of rpm transaction
Sample:
No changes made.
|
- Adam Miller (@maxamillion)