Automating Administration Using Ansible on CentOS 8

Video description

Manage and automate Linux administration by mastering cutting-edge Ansible techniques

About This Video

  • Discover how to use Ansible ad-hoc commands to automate Linux tasks effectively
  • Learn how to manage multiple distributions of Linux
  • Get ready to deploy configurations to Ubuntu, Cent OS hosts, local and cloud-based systems

In Detail

Red Hat Enterprise Linux 8 – the RHCE has changed to manage your Linux estate with Ansible, the configuration management system owned by Red Hat. This video course not only helps you to develop the necessary Ansible skills, but it also allows you to prepare for the Red Hat Certification.

The course starts with an introduction to Ansible and Red Hat Certifications, covering the basics and installation process of Ansible on CentOS 8 and Debian based systems. Next, you’ll understand Ansible configuration, inventory, and ad-hoc commands. Moving along, you’ll get a solid understanding of Ansible playbooks and learn the process of creating a DevOps account. Moving along, you’ll work with facts, variables, files, templates, and configure SSH servers. As you advance, you’ll encrypt data using Ansible vault and learn how to deploy the Apache webserver. Next, you’ll become well-versed with the concepts of roles and understand the reason behind configuring the Amazon Web Server (AWS). Finally, you’ll manage storage using Ansible and create Linux scheduled tasks.

By the end of this course, you’ll develop the skills needed to automate Linux tasks using Ansible on CentOS 8, Ubuntu, and Raspberry PI.

Table of contents

  1. Chapter 1 : Automating Linux Administration Using Ansible
    1. Introduction
    2. Understanding the Lab Setup
    3. Investigating the Labs
    4. Installing Ansible
    5. Installing Ansible on CentOS 8
    6. Installing Ansible on the Raspberry Pi
  2. Chapter 2 : Ansible Configuration and Inventory
    1. Working with the Ansible Configuration and Tools
    2. Creating the Ansible Configuration on the controller
    3. Ansible Inventory
    4. Creating and Working with Inventories
  3. Chapter 3 : Running Ad-Hoc Commands in Ansible
    1. Understanding Ansible Ad-Hoc Commands
    2. Managing Secure Shell (SSH) Keys at the Common Line Interface (CLI) Using Ansible Modules
    3. Managing Users with Ansible Ad-Hoc Commands
  4. Chapter 4 : Working with Ansible Playbooks
    1. Understanding and Editing YAML Files
    2. Understanding Playbooks
    3. Working with Playbooks on CentOS 8
    4. Working with Playbooks on CentOS 8
    5. Lets Summarise What We Know on Playbooks
  5. Chapter 5 : Managing User Accounts Using Ansible Playbooks
    1. Understanding the User Module
    2. Creating Users with Playbooks
    3. User Passwords
    4. Working with User Passwords
    5. Users: What We Learned?
  6. Chapter 6 : Creating a Dedicated Ansible Accounts
    1. Creating the DevOps Account
  7. Chapter 7 : Working with Facts and Variables
    1. Understanding Facts
    2. Working with the Admin Group across Distributions
    3. Configuring the Apache ServerName Directive
    4. What Do We Know about Facts?
  8. Chapter 8 : Working with Files and Templates
    1. Working with files and Templates in Ansible
    2. Practical Demonstration Using Files and Templates
  9. Chapter 9 : Configuring the Secure Shell (SSH) Server
    1. Configuring Services and Secure Shell (SSH)
    2. Implementing Security in Secure Shell (SSH) Using Tasks and Handlers
  10. Chapter 10 : Encrypting Data Using Ansible Vault
    1. Understanding Ansible Vault
    2. Implementing Encryption
  11. Chapter 11 : Deploying the Apache Webserver
    1. Understanding Apache and What an Installation Requires
    2. Configuring Variables
    3. Configuring the Service and Home Page and Document Root
    4. Testing and Debugging the Deployment
  12. Chapter 12 : Using Roles to Streamline Ansible
    1. Understanding Roles
    2. Migrating Playbook to a Role
    3. What Did You Learn about Roles?
  13. Chapter 13 : Setup
    1. Understanding How to Deploy PHP
    2. Creating the Role for PHP
    3. Deploying MariaDB
    4. Creating the MariaDB Ansible Role
  14. Chapter 14 : Configuring AWS Instances Using Ansible
    1. What You Need to Configure Amazon Web Services (AWS)
    2. Configuring Amazon Web Services (AWS) Instances
  15. Chapter 15 : Managing Storage Using Ansible
    1. Understanding Ansible and its Storage
    2. Working with Storage Using Ansible
  16. Chapter 16 : Scheduling Linux Tasks
    1. Understanding Linux-scheduled Tasks
    2. Creating Cron and "at" jobs

Product information

  • Title: Automating Administration Using Ansible on CentOS 8
  • Author(s): Andrew Mallett
  • Release date: November 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781801078986