This course introduces the delegate to the main concepts of Ansible Automation within the Red Hat Linux 8 operating system.
Although this Administering Red Hat Linux 8 - Part 3 : Linux Automation course is based on the Red Hat/CentOS Linux distribution, the delegate should be able to apply the concepts covered on this course to other Linux based distributions.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
The delegate will learn and acquire skills as follows:
- Install and configure Ansible
- Configure clients for use with Ansible
- Create and run ad-hoc Ansible commands
- Understand the basics of the YAML Language
- Create and run Ansible Playbooks
- Create and use Variable both internal and external
- Understand and use Ansible facts
- Create and use Tasks
- Create and Use Roles
- Secure Data using Ansible Vault
- Manage files using Ansible
- Create and Manage large projects
- Linux Administration using Ansible
- Troubleshooting Ansible problems
Who will the Course Benefit?
Linux System Administrators, DevOps teams, Managers and systems support personnel who need to automate tasks and maintain server configurations from a single point of control within an enterprise environment.
Select specific date to see price, venue and full details.
Learning Objectives
To provide the skills needed to use Ansible for the purpose of automation, configuration and management.
Pre-Requisites
Requirements
Delegates attending this Administering Red Hat Linux 8 - Part 3 : Linux Automation course should have experience of administering Red Hat Linux in an Enterprise environment to the level covered in the pre-requisite courses.
The requirements for this course can be met by either of the pre-requisite courses listed.
Pre-Requisite Courses
- Administering Red Hat Linux 8 - Part 2
- FastTrack to Red Hat Linux 8 System Administrator
Course Content
Day 1
Course Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: WHAT IS ANSIBLE
- What is Ansible
- No database
- No file residue
- Overview of Ansible Tower
Session 2: DEPLOYING ANSIBLE
- Installing Ansible control system
- Configure Ansible user
- Ansible configuration
- Inventory
Session 3: CONFIGURE ANSIBLE CLIENT SYSTEM
- Create Ansible user
- Configure ssh secure remote access using Keys
- Restrict ssh access
- Configure privilege escalation on managed client
Session 4: CREATING AND RUNNING AD-HOC ANSIBLE COMMANDS
- What are AD-Hoc commands
- Running Ad-Hoc commands
- Understanding the output from Ad-Hoc commands
- Static Vs Dynamic Inventories
Day 2
Session 5: YAML BASICS
- What is YAML
- YAML Syntax
- To indent or not to indent
- Examples of YAML for Ansible
Session 6: PLAYBOOKS AND TASKS
- What are Playbooks
- Creating a simple Playbook
- Creating Tasks
- Running the Playbook
- Using Common Modules
- Using Conditions
- Error Handling
- Safety of sensitive data using Ansible vault
Session 7: CREATING AND USING VARIABLES
- Ansible variable Syntax
- Internal variable
- External variables
- Adding variables to Playbooks
Day 3
Session 8: USING ANSIBLE FACTS
- What are Facts?
- Adding simple facts to a Playbook
- Multiple facts to the same Playbook
Session 9: CREATING AND USING ANSIBLE ROLES
- What is a role?
- Creating a role using ansible-galaxy
- Configuring the Role
- Adding the role to a playbook
- Checking the Role works
Session 10: WORKING WITH FILES USING ANSIBLE
- File management at a distance
- Basic file operations
- Using File Templates
- Create and deploy a motd template enterprise wide
Day 4
Session 11: CREATE AND MANAGE LARGE PROJECTS
- How large is Large
- Package Installations
- Using Mirrors
- Forking
Session 12: TROUBLE SHOOTING ANSIBLE PROBLEMS
- Syntax Errors
- Authentication Errors
- Client system permission errors
Session 13: LINUX SYSTEMS ADMINISTRATION USING ANSIBLE
- Software packages and repositories
- Services
- Firewall rules
- File systems
- Storage devices
- File content
- Archiving
- Scheduled tasks
- Security
- Users and groups
Session 14: OVERVIEW OF RED HAT ANSIBLE TOWER
- What is Ansible Tower
- Benefits of Ansible Tower
Notes:
- Course technical content is subject to change without notice.
- Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.
Exams & Certification
This course together with the Administering Red Hat Linux 8 - Part 1 and Administering Red Hat Linux 8 - Part 2 courses will aid the delegate in their preparation for the following exams:
- Red Hat Certified Systems Administrator (RHCSA): EX200
- Red Hat Certified Engineer (RHCE): EX300
- Red Hat Certified Specialist in Ansible Automation: EX407
Attending this course will help delegates gain many of the skills and product knowledge requirements as outlined in the exam objectives. Studying this course and its associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.
Before taking any exam, ensure you have the recommended experience. The Red Hat website lists all exam requirements and these are updated regularly.
Exams are not included as part of the course.