infra-swarm/ansible
Jakub Sokołowski 83cb9e7210 reduce swarm verbosity 2018-10-16 08:57:16 -04:00
..
files add swarm role 2018-08-01 15:58:01 -04:00
group_vars increase client max body size for swarm to 10m 2018-10-15 12:50:33 -04:00
roles reduce swarm verbosity 2018-10-16 08:57:16 -04:00
README.md add readme 2018-08-01 14:22:27 -04:00
bootstrap.yml add requirements and bootstra.yml 2018-08-01 14:28:00 -04:00
main.yml enable https access via 8900 port 2018-08-28 15:27:07 -04:00
requirements.yml add dependency on nginx module 2018-08-28 10:27:14 -04:00
terraform.py add terraform config and inventory 2018-08-01 14:17:23 -04:00

README.md

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.