Book Image

Containerization with Ansible 2

By : Aric Renzo
Book Image

Containerization with Ansible 2

By: Aric Renzo

Overview of this book

<p>Today many organizations are adopting containerization and DevOps methodologies to improve the flexibility and reliability of deploying new applications. Building custom application containers often means leveraging brittle and oftentimes complex Dockerfiles that can lead to cumbersome, multi-layered containers. Ansible Container brings a new workflow for managing the development of containers from development all the way through to production. The goal of this book is to get you up and running with Ansible Container so that you can create container images from Ansible roles, run containers locally, and deploy them to the cloud.</p> <p>We’ll progress from a simple, single container application, to a complex application consisting of multiple, connected containers. You’ll learn how to run the application locally, how to deploy it to an OpenShift cluster running locally, and how to deploy it to a Kubernetes cluster running in the cloud. Along the way, you’ll see how to use roles to define each image or micro-service, and how to share your completed project with the Ansible community. Next, you will be able to take full advantage of Ansible Container, and use it to automate the container lifecycle in your own projects.</p> <p>By the end of this book,you will gain mastery of the Ansible Container platform by building complex multi-container projects ready for deployment into production.</p>
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Share roles and apps on GitHub and Ansible Galaxy


Ansible Galaxy is an absolutely fantastic resource to leverage to reuse some of the best playbooks and roles developed by the community. As we have seen throughout the book, Ansible Galaxy hosts hundreds of Ansible Core roles, container roles, and container apps. These projects are developed and shared with the community due to the friendly and altruistic nature of the stellar and incredibly smart people who make up the vast Ansible ecosystem. Sharing Ansible roles on Galaxy, however, is not just reserved for a select few Ansible veterans. Anyone can sign up for an account on https://galaxy.ansible.com and share a project already hosted in a GitHub repository. In my experience working with the Ansible community, if you develop a super-cool role or app that solves a problem, it is almost guaranteed there are others out there struggling with the same problem. By contributing your code to Ansible Galaxy, you are not only helping others, you...