kolla-ansible/ansible
weiyu 0e00ad2188 fix ansible libary passing error arguments.
kolla is mandatory to run a version of docker-compose that 
includes pid: host support.docker-compose 1.3.0 to include the
necessary features.

docker-compose 1.3.0 project.up() abandoned the parameters 
detach and use allow_recreate replace recreate parameters.
closes-Bug: #1458116

Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8
2015-06-02 10:49:25 +00:00
..
group_vars Allow the Kolla directory to be configurable 2015-04-03 09:28:59 -05:00
inventory Add auth role to ansible 2015-05-05 19:08:47 +00:00
library fix ansible libary passing error arguments. 2015-06-02 10:49:25 +00:00
roles Add auth role to ansible 2015-05-05 19:08:47 +00:00
README.md Allow the Kolla directory to be configurable 2015-04-03 09:28:59 -05:00
site.yml Add auth role to ansible 2015-05-05 19:08:47 +00: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

You can adjust variables for your environment in the file: "./kolla/ansible/group_vars/all.yml"

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.