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

Merge "Add documentation for running with ansible tags"

parents e842f0e9 15f6fede
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ deployment system using [Ansible][] and [docker-compose][]. ...@@ -10,7 +10,7 @@ deployment system using [Ansible][] and [docker-compose][].
Getting Started Getting Started
=============== ---------------
To run the ansible playbooks, you must specify an inventory file which tracks 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 all of the available nodes in your environment. With this inventory file
...@@ -23,19 +23,24 @@ to setup ssh-keys. More information on the ansible inventory file can be found ...@@ -23,19 +23,24 @@ to setup ssh-keys. More information on the ansible inventory file can be found
Deploying Deploying
========= ---------
For AIO deploys, you can run the following commands. These will setup all of For All-In-One deploys, you can run the following commands. These will setup all
the containers on your localhost. of the containers on your localhost.
``` cd ./kolla/ansible
$ cd ./kolla/ansible ansible-playbook -i inventory/all-in-one site.yml
$ 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 Further Reading
=============== ---------------
Ansible playbook documentation can be found [here][]. Ansible playbook documentation can be found [here][].
......
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