From the course: Red Hat Certified Engineer (EX294) Cert Prep: 1 Foundations of Ansible

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install Ansible on the control node

Install Ansible on the control node

From the course: Red Hat Certified Engineer (EX294) Cert Prep: 1 Foundations of Ansible

Start my 1-month free trial

Install Ansible on the control node

- [Instructor] Ansible can be installed on the control node using one of three different methods. Using the Operating System package manager, using pip, the Python package manager, or by source code. For this course, we'll be installing Ansible using the YUM package manager, which comes with CentOS. If you're using Red Hat Enterprise Linux 8, you'll need to enable the ansible-2.8-for-rhel-8 repository. For Red Hat Enterprise Linux 7, enable the rhel-7-server-ansible repository. Since we're using CentOS 8 Enterprise Linux, we'll install Ansible Engine from the EPEL repository. First, you'll need to install the EPEL repository, if you haven't already. We'll be using our rhost1 VM as our control node. To enable the EPEL repository in rhost1, log in to it and open a terminal. And then type in sudo yum install -y epel-release and hit Enter. Enter your password if prompted. It's fine if it's already installed. Ansible…

Contents