Skip to Main Content
Learning Flask Framework
book

Learning Flask Framework

by Matt Copperwaite, Charles Leifer
November 2015
Beginner content levelBeginner
250 pages
5h 16m
English
Packt Publishing
Content preview from Learning Flask Framework

Automating deployment using Ansible

Ansible is a configuration management tool. It allows us to automate the deployment of our applications in a repeatable and manageable manner, without having to consider how our application is deployed each time.

Ansible works both locally and over SSH. One of the clever things you can do with Ansible is to get Ansible to configure itself. Based on your own configuration, it can then be told to deploy the other machines that it needs.

We, however, are just going to concentrate on building our own local Flask instance using Apache, WSGI, and Flask.

The first thing to do is install Ansible on the machine that we are going to deploy our Flask app on to. Since Ansible is written in Python, we can achieve this quite ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flask Framework Cookbook - Second Edition

Flask Framework Cookbook - Second Edition

Shalabh Aggarwal
Flask Framework Cookbook

Flask Framework Cookbook

Shalabh Aggarwal

Publisher Resources

ISBN: 9781783983360Supplemental Content