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

  • You have Ansible packages installed in the system you want to use as a control node:

Procedure

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

    # yum install rhel-system-roles
  2. Install the Ansible Core package:

    # yum 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