• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Urban Penguin

The Urban Penguin - Linux Training

  • Home
  • About
  • Live Online Courses
  • Shop
  • RHCSA Guide
  • Programming
    • Master Editing Text Files Using VIM
    • Learn Shell Scripting with BASH
    • PERL Scripting in Linux
    • Ruby Scripting in Linux
    • Scripting with PowerShell
    • Learn C Programming using Linux and the Raspberry Pi
    • General Java Tutorials
    • Java 7 OCA Exam 1ZO-803
  • OS Tutorials
    • Red Hat and CentOS Training
      • Red Hat Enterprise Linux System Administration 1 – RH124
      • RHCSA – System Admin 2 – RH134
      • RHCE – EX294 – Automation With Ansible
    • Learning Ubuntu
    • LPI Training
      • LPI Linux Essentials
      • LPIC-1 Linux Administrator
      • LPIC-2 Certified Linux Engineer
      • LPIC-3 Senior Level Certification
        • LPIC-3 Exam 300 : Mixed Environments
        • LPIC-3 Exam 303 : Security
        • LPIC-3 Exam 304 : Virtualization and High Availability
    • Linux Technologies
      • Apache HTTPD Server
      • Learning PHP
      • Learning PUPPET
      • Learning SAMBA
      • Linux File-Systems
      • Monitoring with Nagios Core
      • MYSQL
      • openLDAP Directories on Linux
You are here: Home / Linux / RH294 / Ansible RHCE the new System Administration 3

Ansible RHCE the new System Administration 3

August 24, 2019 by The Urban Penguin

Ansible and the Red Hat Certified Engineer (RHCE) – The Ansible RHCE

With the release of Red Hat Enterprise Linux 8 in May 2019 the company shifted the focus of their premier administration certification to automation with Ansible, we now have the Ansible RHCE. The new System Administration 3 course that follows on from the RHCSA course is now based on Ansible and, of course is the associated exam EX294. To sit this RHCE exam you must already have your RHCSA certification having passed the EX200 exam.

NOTE: The System Administration 1 and System Administration 2 courses that make up the RHCSA certification have not changed that much from previous versions in the move the RHEL 8. There are some updates that relates to new features in 8.

Ansible is configuration management tool that can configure Linux devices as well as windows and other network devices such as routers. It is agent-less and, as such, we only need to install Ansible on the system that we deem as the controller. This could even be our Linux desktop or laptop. Being agent-less gives us advantages over similar tools such as Puppet.


 Ansible Removes Complexity

The design of Ansible is meant for simplicity and the absence of complexity. The PLaybooks used to configure systems are text files that are easily read as well as written. They also act a documentation of how is a system is and should be setup.

Ansible is Agentless

Ansible only needs the controller, and as we mentioned before, this could be your Linux desktop. Connections will be made to Linux systems using OpenSSH and to Windows(R) we can use WinRM. Without the need of installing any agent we can be deploying configurations bringing systems to the desired state very quickly. On Linux, in general there should be a Python interpretor and Windows should have Powershell.

Ansible Architecture

  • Control Nodes:: The management system where Ansible is installed, Ansible only needs to be installed on a single system
  • Managed Hosts:: Systems that are managed by Ansible. Linux requires Python to be installed and Windows(R) systems should have PowerShell and the DotNet Framework installed. Other devices such as Cisco, Juniper and VyOS can also be managed using Ansible
  • Playbooks:: These are YAML files that contain one or more *Plays* to be run across selected Managed Hosts. YAML is a markup language, _Yet Another Markup Language_. Playbooks are plain text files conforming to the YAML formatting standards
  • Plays:: Plays are created with Playbook YAML files. Each play will contain one or more *tasks* to be run on the selected hosts. A Playbook will contain a list of one of more plays. A play will contain a list of one or more tasks
  • Tasks:: The finals and lower element of a Playbook is the task. These are located within Plays and define individual configuration requirements that need to be attained on the managed host. Tasks will execute modules on the managed hosts written in Python, PowerShell or other languages specific to the managed host.
  • Red Hat Ansible Tower:: Ansible Tower is an Enterprise Framework giving you a Web Interface to manage your infrastructure. Ansible Tower is not part of the objectives for the EX294 Exam.

Installing Ansible

Ansible needs to be installed on your Control Node. On Red Hat Enterprise Linux 8 we need to enable to repository and then install Ansible. We can use the command *# subscription-manager repos* to list the repository names so we do not need to remember the exact name of the repository that we need to enable. On CentOS, ansible is in the default repositories but add the *epel* repository to get a much later version of Ansible. Ansible can also be installed on other Linux distributions, there is no requirement to have it installed on RHEL 8, or in fact, Enterprise Linux at all.

RHEL 8
# subscription-manager repos
# subscription-manager repos --enable ansible-2-for-rhel-8-x86_64-rpms
# yum install ansible
# ansible --version
CentOS 7
# yum -y install epel-release
# yum makecache
# yum install -y ansible
# ansible --version

The video follows, the next bog on getting Ansible up and running is here…

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: RH294

Primary Sidebar

Newest Video

The Urban Penguin On Youtube

Products

  • Complete RHCSA 8 Study Guide Complete RHCSA 8 Study Guide £5.99
  • SELinux Guide SELinux Fundamentals in Red Hat Enterprise Linux 8 £1.99
  • Managing POSIX ACLS in Linux £0.99
  • Managing Linux File Permissions £0.99
  • Kernel Module Administration in Linux £0.99

Categories

Pages

  • About The Urban Penguin
  • Contact Us
  • Shop
    • Basket
    • Checkout
    • My Account
  • LPI Training from The Urban Penguin
    • Live and Pluralsight hosted courses
    • Complete Linux Essentials
    • LPIC-3 Senior Level Certification
      • LPIC-3 Exam 300 : Mixed Environments
      • LPIC-3 Exam 303 : Security
      • LPIC-3 Exam 304 : Virtualization and High Availability
    • LPIC-2 Certified Linux Engineer
    • LPIC-1 Linux Administrator
    • LPI Linux Essentials for Raspberry Pi
    • LPI Linux Essentials
  • Operating System Tutorials
    • Linux Foundation Training
    • Solaris 11 OCA 1ZO-821
    • Learning Ubuntu
    • Learning SUSE
    • Red Hat and CentOS Training
      • RHCE – EX294 – Automation With Ansible
      • RHCSA – System Admin 1 – RH124
      • RHCSA – System Admin 2 – RH134
  • Scripting – the power of repetition!
    • Java 7 OCA Exam 1ZO-803
    • General Java Tutorials
    • Learn C Programming using Linux and the Raspberry Pi
    • Ruby Scripting in Linux
    • Scripting with PowerShell
    • PERL Scripting in Linux
    • Learn Shell Scripting with BASH
    • Master Editing Text Files Using VIM
  • Linux Technologies
    • Learning PUPPET
    • openLDAP Directories on Linux
    • Monitoring with Nagios Core
    • Linux File-Systems
    • Learning SAMBA
    • Apache HTTPD Server
    • Learning PHP
    • MYSQL
  • OpenStack
    • Pluralsight
    • Udemy
    • Raspberry Pi Tutorials
    • Citrix Videos
  • Online Instructor-led Courses
    • Red Hat Enterprise Linux System Administration 1 – RH124
    • SELinux Masterclass
    • Bash Scripting Masterclass
    • Nftables Masterclass

© 2021 The Urban Penguin · All Rights Reserved

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok