kolla-ansible/ansible
Sam Yaple 15f6fede75 Add documentation for running with ansible tags
Additionally fix some md format mistakes.

Change-Id: Ica1600b16986303feb188976ec86972ca2f5b942
2015-03-31 09:40:07 -05:00
..
inventory Initial commit for adding ansible support 2015-03-28 17:56:21 -05:00
roles Initial commit for adding ansible support 2015-03-28 17:56:21 -05:00
README.md Add documentation for running with ansible tags 2015-03-31 09:40:07 -05:00
site.yml Initial commit for adding ansible support 2015-03-28 17:56:21 -05:00

Koalla - Kolla with ansible!

Koalla extends the Kolla project past TripleO into its own bonified deployment system using Ansible and docker-compose.

Getting Started

To run the ansible playbooks, you must specify an inventory file which tracks all of the available nodes in your environment. With this inventory file ansible will log into each node via ssh (configurable) and run tasks. Ansible does not require password less logins via ssh, however it is highly recommended to setup ssh-keys. More information on the ansible inventory file can be found here.

Deploying

For All-In-One deploys, you can run the following commands. These will setup all of the containers on your localhost.

cd ./kolla/ansible
ansible-playbook -i inventory/all-in-one site.yml

To run the playbooks for only a particular service, you can us ansible tags. Multiple tags may be specified, and order is still determined by the playbooks.

cd ./kolla/ansible
ansible-playbook -i inventory/all-in-one site.yml --tags message-broker
ansible-playbook -i inventory/all-in-one site.yml --tags message-broker,database

Further Reading

Ansible playbook documentation can be found here.