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
This paragraph is the procedure module introduction: a short description of the procedure.
- You have a Red Hat Ansible Engine Subscription. See the procedure How do I Download and Install Red Hat Ansible Engine?
- You have Ansible packages installed in the system you want to use as a control node:
rhel-system-rolespackage on the system that you want to use as a control node:
# yum install rhel-system-roles
If you do not have a Red Hat Ansible Engine Subscription, you can use a limited supported version of Red Hat Ansible Engine provided with your Red Hat Enterprise Linux subscription. In this case, follow these steps:
Enable the RHEL Ansible Engine repository:
# subscription-manager refresh # subscription-manager repos --enable ansible-2-for-rhel-8-x86_64-rpms
Install Ansible Engine:
# yum install ansible
As a result, you are able to create an Ansible playbook.
- For RHEL System Roles overview, see the Red Hat Enterprise Linux (RHEL) System Roles
- For more detailed information on using the ansible-playbook command, see the ansible-playbook man page.