![Ansible and Ansible-Playbooks for Automation [Video]](https://content.packt.com/V21590/cover_image_small.jpg)
Ansible and Ansible-Playbooks for Automation [Video]
Subscription
FREE
Video + Subscription
$15.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$15.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction
-
Environment Setup
- Launching Required Nodes / Servers for Ansible Setup
- Launching Ansible-Controller Node - CentOS9 Node from Windows WSL2
- Installing Ansible-Core on CentOS9 with Python Version 3.9.x
- Ansible Configuration to Work with Managed Nodes
- Why Ansible Is Called Agentless Tool
- Creating userId on Ansible Controller and Switching to ansadmin from userid
- Simple Ansible Architecture
- How to Get the Latest File or Directory from Current Location?
-
Ad-Hoc Commands with Modules
-
Ansible Ad-Hoc Command to Work with Files
- List of File Modules to Work with files|file, Copy, lineinfile, blockinfile...
- Ansible Ad-Hoc Commands with File Module to Create a File on Managed Nodes
- Ansible Ad-Hoc Commands with stat Module
- Ansible Ad-Hoc Commands with Copy Module
- Ansible Ad-Hoc Commands with lineinfile Module to Append/Replace/Delete Lines
- Ansible Ad-Hoc Command with Fetch Module to Download from Managed Nodes
-
Installing Packages on Different OS Families
-
Executing Ansible Ad-Hoc Commands on Ansible Controller Node or on Localhost
-
Understanding the Output of Ansible Ad-Hoc Commands Output
-
Executing Ansible Ad-Hoc Commands with Your User ID and Password
-
Ansible Inventory File(s)
-
Ansible Configuration File(s)
-
Shell Scripts with Ansible Ad-Hoc Commands
-
Ansible Facts
-
Introduction to Playbooks
-
Basic Concepts to Develop Playbooks
-
Registered and setfacts Variables
-
Operations on Variables
- Types of Operators | Operations on Variables
- Arithmetic Operators
- Filters and Methods Usage to Manipulate Data - Variable Data or Direct Data
- Comparison Operators | Equal, Not-Equal, Greater, Lesser...
- Membership Operators
- Logical Operators
- Test Operators
- Operations on List or Sequence
- Operations on Strings
- Operations on Dictionaries or Maps
- Points to Remember
-
Conditional Statements
-
Ansible Playbooks to Practice on Basic Concepts
-
Ansible Facts (Default Facts) and Systemd Facts
-
Usage of become and become_user
-
Installing Packages | Task Reusability with import_tasks and include_tasks
-
Handlers
-
Usage of Tags to Execute Required Tasks
-
Error Handling
-
Ansible Logging
-
Usage of remote_src , deletegate_to, and run_once Options for Ansible Playbooks
-
Simple Real-Time Ansible Playbook
-
Loops for Ansible Playbooks
-
Working with Templates
-
Introduction to Plugin
-
Working with Third-Party or Ansible Community Collections or Modules
-
Ansible Dynamic Inventory with Plugins
-
Ansible Roles
-
Ansible Vault
-
Raw Module
-
Ansible Project Setup for Real Time to Work with Servers
About this video
Ansible is a powerful automation tool used for configuring and managing systems. It simplifies infrastructure management through declarative, agentless, and idempotent playbooks, ensuring efficient and consistent operations across diverse environments.
This course begins with an introduction to Ansible and its core versus community versions, followed by environment setup, ad-hoc commands, and Playbooks. We will delve into variables, conditionals, loops, tags, handlers, and error handling, gaining proficiency in efficient task execution. Privilege escalation, package installation, and logging are explored, along with task reusability techniques. The course delves into Ansible and systemd facts and works with multiple environments through inventory files. Advanced options such as remote_src, delegate_to, and run_once are thoroughly explained, providing cutting-edge insights. Hands-on practice makes it ideal for those seeking to optimize their infrastructure management skills using Ansible.
Upon completion of the course, we will have gained mastery over the automation tool to efficiently manage infrastructure and streamline operations. We will understand core concepts, ad-hoc commands, and sophisticated Playbooks. With knowledge of variables, conditionals, loops, tags, handlers, and error handling, you can optimize task execution.
- Publication date:
- August 2023
- Publisher
- Packt
- Duration
- 10 hours 46 minutes
- ISBN
- 9781835084182