diff options
author | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-02 09:49:32 +0200 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-04 17:46:39 +0200 |
commit | 51e017647815e10f61afcb0ac60985b4eeff24ca (patch) | |
tree | f113638c3382ddf9cd1c56d64430acf35952d5b3 /playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml | |
parent | 2abe439cd35321e6388c25d5c8e4e6f1fa77e796 (diff) | |
download | openshift-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/sample-inventory/group_vars/OSEv3.yml')
-rw-r--r-- | playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml b/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml index 7d7683c62..2e897102e 100644 --- a/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml +++ b/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml @@ -27,9 +27,14 @@ openshift_hosted_registry_wait: True #openshift_hosted_registry_storage_access_modes: ['ReadWriteOnce'] #openshift_hosted_registry_storage_openstack_filesystem: xfs -## Configure this if you're attaching a Cinder volume you've set up. +## NOTE(shadower): This won't work until the openshift-ansible issue #5657 is fixed: +## https://github.com/openshift/openshift-ansible/issues/5657 ## If you're using the `cinder_hosted_registry_name` option from -## `all.yml`, this will be configured automaticaly. +## `all.yml`, uncomment these lines: +#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" + +## If you're using a Cinder volume you've set up yourself, uncomment these lines: #openshift_hosted_registry_storage_openstack_volumeID: e0ba2d73-d2f9-4514-a3b2-a0ced507fa05 #openshift_hosted_registry_storage_volume_size: 10Gi |