summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/README.md
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-10-02 09:49:32 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-10-04 17:46:39 +0200
commit51e017647815e10f61afcb0ac60985b4eeff24ca (patch)
treef113638c3382ddf9cd1c56d64430acf35952d5b3 /playbooks/provisioning/openstack/README.md
parent2abe439cd35321e6388c25d5c8e4e6f1fa77e796 (diff)
downloadopenshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.gz
openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.bz2
openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.xz
openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.zip
Add dynamic inventory
This adds an `inventory.py` script to the `sample-inventory` that lists all the necessary servers and groups dynamically, skipping the `static_inventory` role as well as the `hosts` creation. It also adds an `os_cinder` lookup function which is necessary for a seamless Cinder OpenShift registry integration without a static inventory.
Diffstat (limited to 'playbooks/provisioning/openstack/README.md')
-rw-r--r--playbooks/provisioning/openstack/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/README.md b/playbooks/provisioning/openstack/README.md
index 5e45add51..b96c9c9db 100644
--- a/playbooks/provisioning/openstack/README.md
+++ b/playbooks/provisioning/openstack/README.md
@@ -361,6 +361,19 @@ registry. Again in `OSEv3.yml`:
The filesystem value here will be used in the initial formatting of
the volume.
+If you're using the dynamic inventory, you must uncomment these two values as
+well:
+
+ #openshift_hosted_registry_storage_openstack_volumeID: "{{ lookup('os_cinder', cinder_hosted_registry_name).id }}"
+ #openshift_hosted_registry_storage_volume_size: "{{ cinder_hosted_registry_size_gb }}Gi"
+
+But note that they use the `os_cinder` lookup plugin we provide, so you must
+tell Ansible where to find it either in `ansible.cfg` (the one we provide is
+configured properly) or by exporting the
+`ANSIBLE_LOOKUP_PLUGINS=openshift-ansible-contrib/lookup_plugins` environment
+variable.
+
+
### Use an existing Cinder volume for the OpenShift registry