Learning Ansible

Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks
Preview in Mapt

Learning Ansible

Madhurranjan Mohaan, Ramesh Raithatha

1 customer reviews
Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks

Quick links: > What will you learn?> Table of content> Product reviews

eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$18.90
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook

Frequently bought together


Learning Ansible Book Cover
Learning Ansible
$ 26.99
$ 18.90
Learning Ansible 2 - Second Edition Book Cover
Learning Ansible 2 - Second Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $27.98
Add to Cart

Book Details

ISBN 139781783550630
Paperback308 pages

Book Description

Automation includes provisioning new servers, making sure the servers adhere to their role and maintain the desired state from a configuration perspective, and orchestrating various actions across environments and deploying code as expected to all these servers. This is where Ansible steps in. It is secure, highly reliable, and minimalistic in nature. It automates configuration management, application deployment, and many other IT needs.

Learning Ansible will equip you with the necessary skills to automate/improve your infrastructure from a configuration management perspective. You will also be able to use Ansible for one-click deployments, provisioning, and orchestrating your infrastructure.

Table of Contents

Chapter 1: Getting Started with Ansible
What is Ansible?
The Ansible architecture
Configuring Ansible
Configuration management
Working with playbooks
Variables and their types
Working with inventory files
Working with modules
Summary
Chapter 2: Developing, Testing, and Releasing Playbooks
Managing source code – Git
Developing a playbook
Testing a playbook
Functional testing in Ansible
The Serverspec tool
Handling environments
Summary
Chapter 3: Taking Ansible to Production
Working with the local_action feature
Working with conditionals
Working with loops
Working with include
Working with handlers
Working with roles
The Ansible template – Jinja filters
Security Management
Summary
Chapter 4: Error Handling, Rollback, and Reporting
Error handling and Rollback
Callback plugins
Monitoring and alerting
Summary
Chapter 5: Working with Custom Modules
Using Python modules
Using Bash modules
Using Ruby modules
Testing modules
Summary
Chapter 6: Provisioning
Provisioning a machine in the cloud
Docker provisioning
Dynamic Inventory
Summary
Chapter 7: Deployment and Orchestration
Deploying a sample Ruby on Rails application
Packaging
Canary deployment
Orchestration of a Tomcat deployment
Deploying Ansible pull
Summary

What You Will Learn

  • Set up and write basic playbooks, with more focus on configuration management
  • Develop and test Ansible playbooks
  • Use Ansible to handle errors, add callbacks, and rollback playbooks
  • Write custom modules and test them
  • Use Ansible modules to provision servers on various clouds
  • Deploy and orchestrate your Ansible infrastructure

Authors

Table of Contents

Chapter 1: Getting Started with Ansible
What is Ansible?
The Ansible architecture
Configuring Ansible
Configuration management
Working with playbooks
Variables and their types
Working with inventory files
Working with modules
Summary
Chapter 2: Developing, Testing, and Releasing Playbooks
Managing source code – Git
Developing a playbook
Testing a playbook
Functional testing in Ansible
The Serverspec tool
Handling environments
Summary
Chapter 3: Taking Ansible to Production
Working with the local_action feature
Working with conditionals
Working with loops
Working with include
Working with handlers
Working with roles
The Ansible template – Jinja filters
Security Management
Summary
Chapter 4: Error Handling, Rollback, and Reporting
Error handling and Rollback
Callback plugins
Monitoring and alerting
Summary
Chapter 5: Working with Custom Modules
Using Python modules
Using Bash modules
Using Ruby modules
Testing modules
Summary
Chapter 6: Provisioning
Provisioning a machine in the cloud
Docker provisioning
Dynamic Inventory
Summary
Chapter 7: Deployment and Orchestration
Deploying a sample Ruby on Rails application
Packaging
Canary deployment
Orchestration of a Tomcat deployment
Deploying Ansible pull
Summary

Book Details

ISBN 139781783550630
Paperback308 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Ansible 2 - Second Edition Book Cover
Learning Ansible 2 - Second Edition
$ 35.99
$ 25.20
Ansible Playbook Essentials Book Cover
Ansible Playbook Essentials
$ 23.99
$ 16.80
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Mastering Ansible Book Cover
Mastering Ansible
$ 31.99
$ 22.40
Learning Linux Shell Scripting Book Cover
Learning Linux Shell Scripting
$ 39.99
$ 28.00
Build Your Own PaaS with Docker Book Cover
Build Your Own PaaS with Docker
$ 23.99
$ 16.80