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.


  • 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.


  1. Install the rhel-system-roles package on the system that you want to use as a control node:

    # dnf install rhel-system-roles
  2. 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