Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Ansible and Ansible-Playbooks for Automation
  • Table Of Contents Toc
Ansible and Ansible-Playbooks for Automation

Ansible and Ansible-Playbooks for Automation

By : Narendra Kumar Reddy Polu
4 (1)
close
close
Ansible and Ansible-Playbooks for Automation

Ansible and Ansible-Playbooks for Automation

4 (1)
By: Narendra Kumar Reddy Polu

Overview of this book

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.
Table of Contents (36 chapters)
close
close
5
Installing Packages on Different OS Families
6
Executing Ansible Ad-Hoc Commands on Ansible Controller Node or on Localhost
7
Understanding the Output of Ansible Ad-Hoc Commands Output
8
Executing Ansible Ad-Hoc Commands with Your User ID and Password
11
Shell Scripts with Ansible Ad-Hoc Commands
20
Usage of become and become_user
23
Usage of Tags to Execute Required Tasks
26
Usage of remote_src , deletegate_to, and run_once Options for Ansible Playbooks
31
Working with Third-Party or Ansible Community Collections or Modules
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 16
Operations on Variables
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Ansible and Ansible-Playbooks for Automation
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon