Skip to content
Snippets Groups Projects
Commit d1c459ed authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Initial commit for adding ansible support"

parents b6fe8c13 0f5af771
No related branches found
No related tags found
No related merge requests found
Koalla - Kolla with ansible!
============================
Koalla extends the Kolla project past [TripleO][] into its own bonified
deployment system using [Ansible][] and [docker-compose][].
[TripleO]: https://wiki.openstack.org/wiki/TripleO
[Ansible]: https://docs.ansible.com
[docker-compose]: http://docs.docker.com/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][].
[here]: https://docs.ansible.com/intro_inventory.html
Deploying
=========
For AIO 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
```
Further Reading
===============
Ansible playbook documentation can be found [here][].
[here]: http://docs.ansible.com/playbooks.html
[support]
localhost ansible_connection=local
[database:children]
support
[message-broker:children]
support
[support]
# These hostname must be resolvable from your deployment host
support01 ansible_ssh_user=sam
support02 ansible_ssh_user=sam
support03 ansible_ssh_user=sam
# The above can also be specified as follows:
#support[01:03] ansible_ssh_user=sam
[database:children]
support
[message-broker:children]
support
---
- name: Bringing up mariadb service(s)
command: docker-compose -f /root/kolla/compose/mariadb.yml up -d
---
- name: Bringing up rabbitmq service(s)
command: docker-compose -f /root/kolla/compose/rabbitmq.yml up -d
---
- hosts: database
roles:
- database
tags: database
- hosts: message-broker
roles:
- message-broker
tags: message-broker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment