20 captures
29 Sep 2017 - 23 Jan 2025
Feb MAR Apr
07
2021 2022 2023
success
fail

About this capture

COLLECTED BY

Collection: Save Page Now Outlinks

TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20220307235056/https://www.fullstackpython.com/ansible.html
 

Full Stack Python
All topics | Blog | Supporter's Edition | @fullstackpython | Facebook | What's new?

Ansible






Ansible is a configuration management tool used for application deployment and environment setup.

Official Ansible logo. Copyright Redhat.

Example Ansible playbooks


Ansible is far easier to learn when you can read how more full-featured playbooks are built using many tasks. An interesting note from my own experience is that when you get more experienced using Ansible there are many shortcuts in the task syntax so you can often make playbooks that have fewer lines of code than when you were less experienced yet the readability does not suffer. 

Check out some of these example playbooks to learn more about how you may be able to structure your playbooks:



The prod directory under the Full Stack Python Deployment Guide open source project code contains a full playbook for deploying a standard Nginx, Gunicorn and PostgreSQL stack.



mac-dev-playbook configures macOS with various applications and developer tools such as Docker, Homebrew and Sublime Text.


Specific Ansible topics




An Ansible2 Tutorial is an incredibly detailed look at how one developer installs and run Ansible.



This retrospective from a developer on lessons from using Ansible exclusively for 2 years explains his rationale for choosing Ansible over Puppet and Chef, then goes through several use cases and best practices learned over time with the tool.



Using Ansible for deploying serverless applications provides a short overview with an example playbook how Ansible can also be useful for configuring serverless applications.



Painless Immutable Infrastructure with Ansible and AWS covers the steps needed for the unique authentication complexities that arise from using Amazon Web Services for your infrastructure.



DevOps from Scratch, Part 1: Vagrant & Ansible



How to use Ansible Variables and Vaults



CI for Ansible playbooks which require Ansible Vault protected variables



How to use Ansible to manage PostgreSQL



Deploy A Replicated MongoDB instance on AWS with Terraform and Ansible


What's next after automating your deployment?





Can I automate testing and deployments for my app?
 




I want to learn more about app users via web analytics.
 




How do I integrate existing web APIs into my application?
 





Sponsored By


AssemblyAI logo
The most accurate speech-to-text API. Built for Python developers.





Table of Contents



1. Introduction 2. Development Environments 3. Data 4. Web Development 5. Deployment Hosting Servers Static Content CDNs Virtual Private Servers Linode DigitalOcean Lightsail Platform-as-a-Service Heroku PythonAnywhere AWS CodeStar Operating Systems Ubuntu macOS Windows FreeBSD Web Servers Apache HTTP Server Nginx Caddy WSGI Servers Green Unicorn (Gunicorn) mod_wsgi uWSGI Continuous Integration Jenkins GoCD Configuration Management Ansible Salt Containers Docker Kubernetes Serverless AWS Lambda Azure Functions Google Cloud Functions 6. DevOps Changelog What Full Stack Means About the Author Future Directions Page Statuses ...or view the full table of contents.



Full Stack Python


Full Stack Python is an open book that explains concepts in plain language and provides helpful resources for those topics.

Updates via Twitter & Facebook.



Chapters



1. Introduction 2. Development Environments 3. Data 4. Web Development 5. Deployment » Ansible 6. DevOps Changelog What Full Stack Means About the Author Future Directions Page Statuses ...or view the full table of contents.

 



Matt Makai 2012-2022