43Modules43Roles40Plugins13Dependencies
Red Hat Enterprise Linux System Roles Ansible Collection
Red Hat Enterprise Linux System Roles is a set of roles for managing Red Hat Enterprise Linux system components.
If installing from RPM, the dependencies will be installed with the package.
Otherwise, the dependencies are listed in requirements.txt
and/or bindep.txt
.
There are currently two ways to use the Red Hat Enterprise Linux System Roles Collection in your setup.
Before using this collection, you need to install it with the ansible-galaxy
command-line tool:
ansible-galaxy collection install redhat.rhel_system_roles
After the installation, the roles are available as redhat.rhel_system_roles.<role_name>
.
You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
collections:
- name: redhat.rhel_system_roles
Note that if you install any collections with ansible-galaxy
, they will not be upgraded automatically when you upgrade the Ansible package.
To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install redhat.rhel_system_roles --upgrade
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 1.0.0:
ansible-galaxy collection install redhat.rhel_system_roles:==1.0.0
See using Ansible collections for more details.
You can install the collection with the software package management tool dnf
by running:
dnf install rhel-system-roles
This collection provides Ansible roles that manage different Red Hat Enterprise Linux subsystems.
A list of all roles and their documentation can be found at https://linux-system-roles.github.io/ as well as in the Supported Roles section.
Once Red Hat Enterprise Linux System Roles Collection is installed, the individual role documentation is found at:
/usr/share/ansible/collections/ansible_collections/redhat/rhel_system_roles/roles/<role_name>/README.md
If you wish to contribute to roles within this collection, feel free to open a pull request for the role's upstream repository at https://github.com/rhel-system-roles/.
We recommend that prior to submitting a PR, you familiarize yourself with our Contribution Guidelines.
NOTE: Some roles are not supported in RHEL6 and RHEL7. For more details about the individual roles you are interested in, see the documentation.
The supported Ansible versions are aligned with currently maintained Ansible versions that support Collections (Ansible 2.9 and later). For the list of maintained Ansible versions, see Releases and maintenance in Ansible documentation.
The modules and other plugins in this collection are private, used only internally to the collection, unless otherwise noted.
For the list of versions and their changelog, see CHANGELOG.md within this collection.
Product |
---|
Red Hat Ansible Automation Platform 2.4 |
Red Hat Ansible Automation Platform 2.5 |
This collection is used by the following collections:
Name | Summary | Version | Type |
---|
The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.