aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-03-30 22:34:15 -0500
committerSam Yaple <sam@yaple.net>2015-03-31 09:40:07 -0500
commit15f6fede756174f2ccd1851a099bbdc913be6612 (patch)
treef01b6e0dd0cfbfaca902b9d18c16f743773e834a
parent309d363d458028b5fee650df54bd2d9c34052a41 (diff)
downloadkolla-15f6fede756174f2ccd1851a099bbdc913be6612.tar.gz
kolla-15f6fede756174f2ccd1851a099bbdc913be6612.zip
Add documentation for running with ansible tags
Additionally fix some md format mistakes. Change-Id: Ica1600b16986303feb188976ec86972ca2f5b942
-rw-r--r--ansible/README.md23
1 files changed, 14 insertions, 9 deletions
diff --git a/ansible/README.md b/ansible/README.md
index d1734ea30..32da6604d 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -10,7 +10,7 @@ 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
@@ -23,19 +23,24 @@ to setup ssh-keys. More information on the ansible inventory file can be found
Deploying
-=========
+---------
-For AIO deploys, you can run the following commands. These will setup all of
-the containers on your localhost.
+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
-```
+ 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][].