summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-08-04 15:26:35 +0200
committerGitHub <noreply@github.com>2017-08-04 15:26:35 +0200
commite4cb854086c845fa301cddaefcba1e3accaa17d8 (patch)
tree2bc5157707f03240807a635702d4696304511cd6 /playbooks/provisioning/openstack
parent8734927bf2157d155f0042db0700df433ac05275 (diff)
downloadopenshift-e4cb854086c845fa301cddaefcba1e3accaa17d8.tar.gz
openshift-e4cb854086c845fa301cddaefcba1e3accaa17d8.tar.bz2
openshift-e4cb854086c845fa301cddaefcba1e3accaa17d8.tar.xz
openshift-e4cb854086c845fa301cddaefcba1e3accaa17d8.zip
Allow using ephemeral volumes for docker storage (#615)
For testing cases it's sometimes useful to not create Cinder volumes for the VMs. It can also sometimes be a little faster and more robust (but unfit for production). This adds an option called `ephemeral_volumes` that will use the VM's storage instead of creating volumes when set to true.
Diffstat (limited to 'playbooks/provisioning/openstack')
-rw-r--r--playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml b/playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml
index 6d07f9b56..8f337546c 100644
--- a/playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml
+++ b/playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml
@@ -78,3 +78,8 @@ ansible_user: openshift
#openstack_private_ssh_key: ~/.ssh/openshift
# # The path for the SSH config to access all nodes
#openstack_ssh_config_path: /tmp/ssh.config.openshift.ansible.{{ env_id }}.{{ public_dns_domain }}
+
+
+# If you want to use the VM storage instead of Cinder volumes, set this to `true`.
+# NOTE: this is for testing only! Your data will be gone once the VM disappears!
+# ephemeral_volumes: false