Menu Close
Chapter 2. Installing RHEL System Roles
Before starting to use System Roles, you must install it in your system.
2.1. Installing RHEL System Roles in your system
To use the RHEL System Roles, install the required packages in your system.
Prerequisites
- The Ansible Core package is installed on the control machine.
- You have Ansible packages installed in the system you want to use as a control node.
Procedure
Install the
rhel-system-roles
package on the system that you want to use as a control node:# dnf install rhel-system-roles
Install the Ansible Core package:
# dnf install ansible-core
The Ansible Core package provides the ansible-playbook
CLI, the Ansible Vault functionality, and the basic modules and filters required by RHEL Ansible content.
As a result, you are able to create an Ansible playbook.
Additional resources
- The Red Hat Enterprise Linux (RHEL) System Roles
-
The
ansible-playbook
man page.