summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/create_pv
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/adhoc/create_pv')
-rw-r--r--playbooks/adhoc/create_pv/create_pv.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/adhoc/create_pv/create_pv.yaml b/playbooks/adhoc/create_pv/create_pv.yaml
index c74734fb7..684a0ca72 100644
--- a/playbooks/adhoc/create_pv/create_pv.yaml
+++ b/playbooks/adhoc/create_pv/create_pv.yaml
@@ -1,4 +1,12 @@
---
+#example run:
+# ansible-playbook -e "cli_volume_size=1" \
+# -e "cli_device_name=/dev/xvdf" \
+# -e "cli_hosttype=master" \
+# -e "cli_environment=ops" \
+# create_pv.yaml
+# FIXME: we need to change "environment" to "clusterid" as that's what it really is now.
+#
- name: Create a volume and attach it to master
hosts: localhost
gather_facts: no