/Practical-Ansible-Second-Edition

Practical Ansible - Second Edition, Published by packt

Primary LanguagePythonMIT LicenseMIT

Practical Ansible - Second Edition

This is the code repository for Practical Ansible - Second Edition, published by Packt.

Learn how to automate infrastructure, manage configuration, and deploy applications

What is this book about?

This book covers the following exciting features:

  • Explore the fundamentals of the Ansible framework
  • Understand how collections enhance your automation efforts
  • Avoid common mistakes and pitfalls when writing automation code
  • Extend Ansible by developing your own modules and plugins
  • Contribute to the Ansible project by submitting your own code
  • Follow best practices for working with cloud environment inventories
  • Troubleshoot issues triggered during Ansible playbook runs

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter 1.

The code will look like the following:

 tasks:
 - name: Install/Update to the latest of Apache Web Server
   ansible.builtin.apt:
     name: apache2
     state: latest

Following is what you need for this book: This book is for DevOps engineers, administrators, or any IT professionals looking to automate IT tasks using Ansible. Prior knowledge of Ansible is not a prerequisite.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

Software/hardware covered in the book Operating system requirements
At least one Linux server (a virtual or physical machine). Fedora 38 or Ubuntu Server 22.04, though other mainstream distributions (including newer versions of these operating systems) should work.
Ansible 8.0 As above.
AWX release 22.4.0 or later As above.

Related products

Get to Know the Authors

Daniel Oh is a Senior Principal Developer Advocate at Red Hat. He works to evangelize building cloud-native microservices and serverless functions with cloud-native runtimes to developers. He also continues to contribute to various open-source cloud projects and ecosystems as a Cloud Native Computing Foundation (CNCF) ambassador for accelerating DevOps adoption in enterprises. Daniel also speaks at technical seminars, workshops, and meetups to elaborate on new emerging technologies for enterprise developers, SREs, platform engineers, and DevOps teams.

James Freeman is a Senior Technical Account Manager with AWS and has over 25 years' experience in the technology industry. He has more than a decade years of first-hand experience of solving real-world enterprise problems in production environments using Ansible, frequently introducing Ansible as a new technology to businesses and CTOs for the first time. In addition, he has authored and facilitated bespoke Ansible workshops and training sessions, and has presented at both international conferences and meetups on Ansible.

Fabio Alessandro Locati commonly known as Fale - is an EMEA Associate Principal Specialist Solutions Architect at Red Hat, a public speaker, an author, and an open source contributor. His primary areas of expertise are Linux, automation, security, and cloud technologies. Fale has more than 15 years of working experience in IT, with many of them spent consulting for many companies, including dozens of Fortune 500 companies. Fale has written Learning Ansible 2.7, Learning Ansible 2, and OpenStack Cloud Security, and has been part of the review process of multiple books.

Other books by the authors