Implementing DevOps with Ansible 2

Leverage the power of Ansible 2 and related tools and scale DevOps processes
Preview in Mapt

Implementing DevOps with Ansible 2

Jonathan McAllister

Leverage the power of Ansible 2 and related tools and scale DevOps processes
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.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
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Implementing DevOps with Ansible 2 Book Cover
Implementing DevOps with Ansible 2
$ 35.99
$ 25.20
Implementing DevOps with Microsoft Azure Book Cover
Implementing DevOps with Microsoft Azure
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781787120532
Paperback266 pages

Book Description

Thinking about adapting the DevOps culture for your organization using a very simple, yet powerful automation tool, Ansible 2? Then this book is for you!

In this book, you will start with the role of Ansible in the DevOps module, which covers fundamental DevOps practices and how Ansible is leveraged by DevOps organizations to implement consistent and simplified configuration management and deployment. You will then move on to the next module, Ansible with DevOps, where you will understand Ansible fundamentals and how Ansible Playbooks can be used for simple configuration management and deployment tasks. After simpler tasks, you will move on to the third module, Ansible Syntax and Playbook Development, where you will learn advanced configuration management implementations, and use Ansible Vault to secure top-secret information in your organization. In this module, you will also learn about popular DevOps tools and the support that Ansible provides for them (MYSQL, NGINX, APACHE and so on). The last module, Scaling Ansible for the enterprise, is where you will integrate Ansible with CI and CD solutions and provision Docker containers using Ansible.

By the end of the book you will have learned to use Ansible to leverage your DevOps tasks.

Table of Contents

Chapter 1: DevOps Fundamentals
DevOps 101
The History of DevOps
DevOps in the Modern Software Organization
Summary
Chapter 2: Configuration Management Essentials
Understanding Configuration Management
Origins of Configuration Management
The Aims of Configuration Management
Basic Principles of Configuration Management
Configuration Management Best Practices
How Ansible Simplifies DevOps Implementations
Binary Artifact Management and Ansible
Summary
Chapter 3: Installing, Configuring, and Running Ansible
Installing Ansible
The Ansible Architecture
The Ansible Command-Line Interface
Configuring Ansible
The Ansible Inventory
Summary
Chapter 4: Playbooks and Inventory Files
Ansible Playbook Constructs
Ansible Play's and Task's
Variables and Variable Files
Hosts and Inventory
Targeting Infrastructure
Ansible Modules
Summary
Chapter 5: Playbooks – Beyond the Fundamentals
playbook's and Conditional Logic
Iterators and Loops
Includes
Ansible Roles
Ansible Register Variables
Ansible Handlers
Summary
Chapter 6: Jinja in Ansible
Introducing Jinja
Jinja2 Programming Constructs
Applying Jinja in Ansible Playbook's
Summary
Chapter 7: Ansible Vault
The Ansible Vault Architecture
Basic Vault Usage
Real-world Ansible Vault Workflow
Summary
Chapter 8: Ansible Modules and Libraries
Introducing Ansible Modules
Integrating Ansible with Other Technologies
Summary
Chapter 9: Integrating Ansible with CI and CD Solutions
Overview of Continuous Integration
Overview of Continuous Delivery
Ansible's Role in CI->CD
Integrating Ansible with Jenkins
Integrating Ansible with Vagrant
Summary
Chapter 10: Ansible and Docker
Understanding Docker's Architecture
Managing Docker Containers with Ansible
Using Ansible to Create Docker Images
Managing Docker Images with Ansible
Gathering Facts About Docker Containers
Summary
Chapter 11: Extending Ansible
Understanding Ansible Plugins and its Architecture
Setting Up the Ansible Module Development Environment
Developing Hello World Ansible Module
Setting up the Ansible Plugin Development Environment
Understanding the Different Types of Plugins
Summary
Chapter 12: Ansible Galaxy
Ansible Galaxy Fundamentals
Summary

What You Will Learn

  • Get to the grips with the fundamentals of Ansible 2.2 and how you can benefit from leveraging Ansible for DevOps.
  • Adapt the DevOps process and learn how Ansible and other tools can be used to automate it.
  • Start automating Continuous Integration and Continuous Delivery tasks using Ansible
  • Maximize the advantages of tools such as Docker, Jenkins, JIRA, and many more to implement the DevOps culture.
  • Integrate DevOps tools with Ansible
  • Extend Ansible using Python and create custom modules that integrate with unique specific technology stacks
  • Connect and control the states of various third-party applications such as GIT, SVN, Artifactory, Nexus, Jira, Hipchat, Slack, Nginx, and others

Authors

Table of Contents

Chapter 1: DevOps Fundamentals
DevOps 101
The History of DevOps
DevOps in the Modern Software Organization
Summary
Chapter 2: Configuration Management Essentials
Understanding Configuration Management
Origins of Configuration Management
The Aims of Configuration Management
Basic Principles of Configuration Management
Configuration Management Best Practices
How Ansible Simplifies DevOps Implementations
Binary Artifact Management and Ansible
Summary
Chapter 3: Installing, Configuring, and Running Ansible
Installing Ansible
The Ansible Architecture
The Ansible Command-Line Interface
Configuring Ansible
The Ansible Inventory
Summary
Chapter 4: Playbooks and Inventory Files
Ansible Playbook Constructs
Ansible Play's and Task's
Variables and Variable Files
Hosts and Inventory
Targeting Infrastructure
Ansible Modules
Summary
Chapter 5: Playbooks – Beyond the Fundamentals
playbook's and Conditional Logic
Iterators and Loops
Includes
Ansible Roles
Ansible Register Variables
Ansible Handlers
Summary
Chapter 6: Jinja in Ansible
Introducing Jinja
Jinja2 Programming Constructs
Applying Jinja in Ansible Playbook's
Summary
Chapter 7: Ansible Vault
The Ansible Vault Architecture
Basic Vault Usage
Real-world Ansible Vault Workflow
Summary
Chapter 8: Ansible Modules and Libraries
Introducing Ansible Modules
Integrating Ansible with Other Technologies
Summary
Chapter 9: Integrating Ansible with CI and CD Solutions
Overview of Continuous Integration
Overview of Continuous Delivery
Ansible's Role in CI->CD
Integrating Ansible with Jenkins
Integrating Ansible with Vagrant
Summary
Chapter 10: Ansible and Docker
Understanding Docker's Architecture
Managing Docker Containers with Ansible
Using Ansible to Create Docker Images
Managing Docker Images with Ansible
Gathering Facts About Docker Containers
Summary
Chapter 11: Extending Ansible
Understanding Ansible Plugins and its Architecture
Setting Up the Ansible Module Development Environment
Developing Hello World Ansible Module
Setting up the Ansible Plugin Development Environment
Understanding the Different Types of Plugins
Summary
Chapter 12: Ansible Galaxy
Ansible Galaxy Fundamentals
Summary

Book Details

ISBN 139781787120532
Paperback266 pages
Read More

Read More Reviews

Recommended for You

Implementing DevOps with Microsoft Azure Book Cover
Implementing DevOps with Microsoft Azure
$ 39.99
$ 28.00
The DevOps 2.1 Toolkit: Docker Swarm Book Cover
The DevOps 2.1 Toolkit: Docker Swarm
$ 39.99
$ 28.00
The DevOps 2.0 Toolkit Book Cover
The DevOps 2.0 Toolkit
$ 39.99
$ 28.00
DevOps with Kubernetes Book Cover
DevOps with Kubernetes
$ 39.99
$ 28.00
Effective DevOps with AWS Book Cover
Effective DevOps with AWS
$ 35.99
$ 18.00
DevOps with Windows Server 2016 Book Cover
DevOps with Windows Server 2016
$ 47.99
$ 33.60