summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/post-provision-openstack.yml
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-09-12 17:05:56 +0200
committerGitHub <noreply@github.com>2017-09-12 17:05:56 +0200
commitafd6a03b071eced6bd0940bb96a2a39233739523 (patch)
tree0c16d74a9e341aa3c48149e0a049b077b4ecfd5d /playbooks/provisioning/openstack/post-provision-openstack.yml
parent2d3fae8f65a234ecd66fdaa6017d9158616ab256 (diff)
downloadopenshift-afd6a03b071eced6bd0940bb96a2a39233739523.tar.gz
openshift-afd6a03b071eced6bd0940bb96a2a39233739523.tar.bz2
openshift-afd6a03b071eced6bd0940bb96a2a39233739523.tar.xz
openshift-afd6a03b071eced6bd0940bb96a2a39233739523.zip
Support Cinder-backed Openshift registry (#707)
* Attach and detach a volume, wait for it to be accessible This is mostly just handling the attach/detach code, making sure the necessary vars are accessible where they need to be as well as finding out the correct device name the volume is attached as. * Create temp directory for mounts, remove some debug info * add the fs actions * Remove debug * Prepare the volume automatically if possible * Add docs and sample inventory * Read OS_* creds from shell in sample inventory * Fix yamlint complaint * Update readme This mentions the potential pitfalls when using devstack. * Better check for the router deployment in CI * Set the openshift_hoster*_wait vars to True * Fix typo
Diffstat (limited to 'playbooks/provisioning/openstack/post-provision-openstack.yml')
-rw-r--r--playbooks/provisioning/openstack/post-provision-openstack.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/post-provision-openstack.yml b/playbooks/provisioning/openstack/post-provision-openstack.yml
index 28f3e5fcf..116eb1244 100644
--- a/playbooks/provisioning/openstack/post-provision-openstack.yml
+++ b/playbooks/provisioning/openstack/post-provision-openstack.yml
@@ -84,3 +84,6 @@
line: "IP4_NAMESERVERS={{ hostvars['localhost'].private_dns_server }}"
roles:
- node-network-manager
+
+- include: prepare-and-format-cinder-volume.yaml
+ when: prepare_and_format_registry_volume|default(False)