summaryrefslogtreecommitdiffstats
path: root/roles/common
diff options
context:
space:
mode:
authorAndrew Block <andy.block@gmail.com>2016-02-08 00:10:01 -0600
committerAndrew Block <andy.block@gmail.com>2016-02-08 00:10:01 -0600
commit636510c3eec7317acdfded00d6237ed5f6ff3529 (patch)
tree0d4e14b002a1c148107299470bd8e0a22943be04 /roles/common
parentf8494775e288e815b038e18f1caca171a235f0a9 (diff)
downloadopenshift-636510c3eec7317acdfded00d6237ed5f6ff3529.tar.gz
openshift-636510c3eec7317acdfded00d6237ed5f6ff3529.tar.bz2
openshift-636510c3eec7317acdfded00d6237ed5f6ff3529.tar.xz
openshift-636510c3eec7317acdfded00d6237ed5f6ff3529.zip
New OSE3 docker host builder and OpenStack ansible provisioning support
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/pre_tasks/pre_tasks.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/common/pre_tasks/pre_tasks.yml b/roles/common/pre_tasks/pre_tasks.yml
new file mode 100644
index 000000000..c573bff8c
--- /dev/null
+++ b/roles/common/pre_tasks/pre_tasks.yml
@@ -0,0 +1,4 @@
+---
+- name: Generate Environment ID
+ shell: echo "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 8)"
+ register: env_random_id \ No newline at end of file