Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 25. System roles
The following chapter contains the most notable changes to system roles between RHEL 8 and RHEL 9.
25.1. Performing system administration tasks with RHEL system roles Copier lienLien copié sur presse-papiers!
As of Red Hat Enterprise Linux 9.0 General Availability (GA) release, RHEL system roles includes the ansible-core 2.12 package. This is a version of Ansible that has only the core functionality - that is, it does not include modules such as blivet for the storage role, gobject for the network role, and plugins such as json_query.
With RHEL system roles, you can take advantage of a configuration interface to remotely manage multiple RHEL systems. As an option to the traditional RHEL system roles format, you can benefit from Ansible Collections, available in the Automation Hub only for Ansible Automation Platform Customers or via RPM package, available for RHEL users.
RHEL 9 control nodes can only manage RHEL 7, RHEL 8, and RHEL 9 nodes
RHEL 9 contains ansible-core 2.14. This Ansible version supports managing RHEL 7, RHEL 8, and RHEL 9 nodes. To manage RHEL 10 nodes, you require a RHEL 10 control node.
New RHEL system roles
sudoIn RHEL 9.5, the
sudoRHEL system role has been added to distributesudoconfigurations in an automated manner to all managed nodes.For more details, see the dedicated release note New
sudoRHEL system role, or the resources in the/usr/share/doc/rhel-system-role/sudo/directory.gfs2In RHEL 9.5, the
gfs2RHEL system role has been added to configure Global File System 2 (GFS2) in an automated manner on all managed nodes.For more details, see the dedicated release note Support for configuring GFS2 file systems by using RHEL system roles, or the resources in the
/usr/share/doc/rhel-system-role/gfs2/directory.aideIn RHEL 9.6, the
aideRHEL system role has been added to configure detecting of unauthorized changes in an automated manner on all managed nodes.For more details, see the dedicated release note New RHEL system role:
aide, or the resources in the/usr/share/doc/rhel-system-role/aide/directory.
Support for Ansible Engine 2.9 is no longer available in RHEL 9
Ansible Engine 2.9 is no longer available in Red Hat Enterprise Linux 9. Playbooks that previously ran on Ansible Engine 2.9 might generate error messages related to missing plugins or modules. If your use case for Ansible falls outside of the limited scope of support for Ansible Core provided in RHEL, contact Red Hat to discuss the available offerings.
RHEL system roles now uses Ansible Core
As of the RHEL 9 General Availability release, Ansible Core is provided with a limited scope of support to enable RHEL supported automation use cases. Ansible Core is available in the AppStream repository for RHEL. For details on the scope of support, refer to Scope of support for the Ansible Core package included in the RHEL 9 AppStream.
As of Red Hat Enterprise Linux 9.0, the scope of support for Ansible Core in the RHEL AppStream is limited to any Ansible playbooks, roles, and modules that are included with or generated by a Red Hat product, such as RHEL system roles.
RHEL system roles can be used to manage multiple different versions of RHEL
You can use RHEL system roles as a consistent interface to manage different versions of RHEL. This can help to ease the transition between major versions of RHEL.
RHEL 8 moves to Maintenance Support phase
After the RHEL 8.10 release, RHEL 8 moved to the Maintenance Support phase and will no longer receive new features. As a result, starting with RHEL 9.5, new features will only be available in RHEL 9. Therefore, to get access to the latest enhancements use RHEL 9 for your RHEL system role control nodes.