add readme

This commit is contained in:
Jakub Sokołowski 2018-08-01 14:22:27 -04:00
parent a4ea13c7c2
commit de790722fb
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

14
ansible/README.md Normal file
View File

@ -0,0 +1,14 @@
# Description
Herein lie all ansible related files __except__ for `ansible.cfg` at the root of the repo for easier usage without having to `cd` here.
# Usage
Simply run the playbook.
```
ansible-playbook ansible/main.yml
```
# Inventory
The inventory we use is generated from Terraform via the `terraform-provider-ansible` which generates the necessary data structures in the Consul storage that is later used by the `terraform.py` script to provide hosts and their variables to `ansible`.