Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Ansible Automation for flask app

This repository is an example that shows how to use ansible-test. In addition, it is written in the style of using wrapper roles. For more information, see our blog post at: LINK HERE

Getting Started

To get started testing with this repository, run:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Testing

To test locally with ansible-test, you must have docker installed locally. If you are on Mac OSX, I reccomend you use boot2docker to setup docker.

$ ansible-test app

The above command will test the app role in a docker container. Once the automation is done, it will drop you into a shell on the container so you can inspect the resulting configuration.

About

Example using ansible-test and wrapper roles to implement a simple flask webapp

Resources

Stars

24 stars

Watchers

50 watching

Forks

Releases

Packages

Used by

Contributors

Languages