diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-04-01 00:42:38 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-04-01 00:42:38 +0000 |
| commit | cf3086ed3bca797ecc34e9c401951d1d64fe326a (patch) | |
| tree | 9c9257278acc10d889b5f4adf849e53a0dd0a307 | |
| parent | e842f0e9a12d21c0614962f8d1811d22390a6edf (diff) | |
| parent | 15f6fede756174f2ccd1851a099bbdc913be6612 (diff) | |
| download | kolla-cf3086ed3bca797ecc34e9c401951d1d64fe326a.tar.gz kolla-cf3086ed3bca797ecc34e9c401951d1d64fe326a.zip | |
Merge "Add documentation for running with ansible tags"
| -rw-r--r-- | ansible/README.md | 23 |
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][]. |
