Linux Redhat Administration III - Automation Ansible-RHEL8

Linux Redhat Administration III – Automation Ansible-RHEL8

Description

Linux Exam EXAM-294 with Ansible Sample Practice Exams – OS Version 8

Linux Certified System Administrator Exam (EX-200 – 2.5 Hours Required), there are two course modules as shown below.

  •   Linux System Administration I – SA1 (First part)
  •   Linux System Administration II – SA2 (Second part)

Linux Certified Engineer (EXAM294 – 4 Hours Required) [ First & Second part is required to complete this course. ]

  •   Linux System Administration III: Linux Automation with Ansible ==> This Course Module will teach you this module.

Course Description:

Linux System Administration III: Linux Automation with Ansible (RH294)

Introduction

  • What is Ansible?
  • Ansible Limitations
  • Ansible Architecture
  • Overview of Ansible Setup
  • Quiz1

Ansible Installation

  • Installing Ansible
  • Guided Exercise

Deploying Ansible

  • Ansible Components- Ansible Configuration- Host Inventory- Core Modules- Custom Modules- Playbooks- Connection Plugins
  • Ansible Host Inventories
  • Guided Exercise: Building an Ansible Inventory
  • Customizing Ansible
  • Managing Ansible Configuration files

AD HOC Commands With Ansible

  • Syntax of Ad Hoc Command
  • Ansible Modules
  • Ansible Command-line Options
  • Idempotent behavior of Ansible Modules
  • Guided Exercise

Implementing Playbooks

  • Overview of Playbook Syntax
  • Writing and Running Playbooks
  • Lab – Write a Simple Playbook, User Creation task
  • Guided Exercise – Web Server Installation
  • Guided Exercise – Multiple Tasks

Managing Variables & Facts in Ansible

  • Overview of variables in Ansible
  • Lab-Managing Variables
  • Hosts & Group variables
  • Lab on Host & Group Variables
  • Ansible Facts

Managing Secrets

  • Ansible Vault Command
  • Lab – Edit, encrypt, decrypt, and view files
  • Guided Exercise – 1
  • Guided Exercise – 2

Implementing Task Control

  • Manage task control, handlers, and task errors in Ansible Playbooks.
  • Task Iteration with Loops
  • Lab – Simple Loops, Loops over a List of Hashes
  • Lab – with_items, with_file
  • Lab – using register variables with loops
  • Lab – Running tasks Conditionally using when statement
  • Lab – when statement using ansible facts
  • Lab – Testing multiple conditions using when statement
  • Lab – “in” keyword
  • Lab – Combining Loops & Conditional Tasks
  • Lab – Combining Conditionals & Register Varaibles
  • Ansible Handlers
  • Lab – Ansible Handlers

Handling Task Failures

  • Managing task errors in plays – ignore_errors
  • Specifying task failure Conditions
  • failed_when keyword
  • changed_when keyword
  • Guided Exercise

Deploying files to managed hosts

  • Describing files modules
  • Lab – copy & fetch modules
  • Lab – lineinfile & blockinfile modules
  • Lab – modify file attributes such as SELinux Context
  • Lab – stat module
  • Guided Exercise

Deploying Custom files with Jinja2 Templates

  • Overview of Jinja Templates
  • Control Structure – using loops, variables
  • Lab – for, loop.index variable, if else in Jinja2 Templates
  • Guided Exercise

Configuring Parallelism

  • About Parallelism in Ansible
  • Managing rolling updates – serial keyword
  • Guided Exercise – Forks Parameter
  • Guided Exercise – Serial Keyword

Including & Importing Files

  • Overview of Importing & Including files
  • Import_playbook & import_tasks
  • define variables using import_tasks
  • Include_tasks and its comparison with import_tasks
  • Guided Exercise

Simplifying Playbooks with Roles

  • Ansible Roles
  • Create Ansible Roles
  • Lab: Simplifying Playbooks with Roles

Troubleshooting Ansible

  • Log Files for Ansible
  • The Debug Module
  • Managing Errors : –syntax-check, –step, –list-tasks, –start-at-tasks
  • Debugging
  • Using check mode as a Testing Tool
  • check_mode
  • Guided Exercise
  • Last Lecture

Bonus

  • Linux EX294 with Ansible Sample Practice Exams – OS Version 8

Leave a Reply