summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2018-01-12 14:16:56 +0100
committerTomas Sedovic <tomas@sedovic.cz>2018-01-16 13:58:55 +0100
commit54502cee66db02a659e58aab64fb97ca6f728ca0 (patch)
tree06398887d0f4d530ac7dfe7d1a535e6acd07ba7a /playbooks/openstack
parentd82066b0d47b35c56da95cf75649b75de0ccdaff (diff)
downloadopenshift-54502cee66db02a659e58aab64fb97ca6f728ca0.tar.gz
openshift-54502cee66db02a659e58aab64fb97ca6f728ca0.tar.bz2
openshift-54502cee66db02a659e58aab64fb97ca6f728ca0.tar.xz
openshift-54502cee66db02a659e58aab64fb97ca6f728ca0.zip
Document the inventory change
Diffstat (limited to 'playbooks/openstack')
-rw-r--r--playbooks/openstack/README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/playbooks/openstack/README.md b/playbooks/openstack/README.md
index 2e5cacc76..fb621f898 100644
--- a/playbooks/openstack/README.md
+++ b/playbooks/openstack/README.md
@@ -183,7 +183,9 @@ Then run the provision + install playbook -- this will create the OpenStack
resources:
```bash
-$ ansible-playbook --user openshift -i inventory \
+$ ansible-playbook --user openshift \
+ -i openshift-ansible/playbooks/openstack/inventory.py
+ -i inventory \
openshift-ansible/playbooks/openstack/openshift-cluster/provision_install.yml \
-e openshift_repos_enable_testing=true
```
@@ -191,6 +193,11 @@ $ ansible-playbook --user openshift -i inventory \
Note, you may want to use the testing repo for development purposes only.
Normally, `openshift_repos_enable_testing` should not be specified.
+In addition to *your* inventory with your OpenShift and OpenStack
+configuration, we are also supplying the [dynamic inventory][dynamic] from
+`openshift-ansible/inventory`. It's a script that will look at the Nova servers
+and other resources that will be created and let Ansible know about them.
+
If you're using multiple inventories, make sure you pass the path to
the right one to `-i`.
@@ -233,3 +240,4 @@ advanced configuration:
[loadbalancer]: ./advanced-configuration.md#multi-master-configuration
[external-dns]: ./advanced-configuration.md#dns-configuration-variables
[cinder-registry]: ./advanced-configuration.md#creating-and-using-a-cinder-volume-for-the-openshift-registry
+[dynamic]: http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html