summaryrefslogtreecommitdiffstats
path: root/roles/openshift_preflight/facts
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-06 20:53:05 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-12 14:23:19 +0100
commit9041a816210132b1dad86217ecfef5f9fec4a8d2 (patch)
tree9cfc4a208e8d90ee198cd72f6e4ffeb443f8e794 /roles/openshift_preflight/facts
parentfeeeb48f45ecbde3e5bcc2a66c7f947080d433e5 (diff)
downloadopenshift-9041a816210132b1dad86217ecfef5f9fec4a8d2.tar.gz
openshift-9041a816210132b1dad86217ecfef5f9fec4a8d2.tar.bz2
openshift-9041a816210132b1dad86217ecfef5f9fec4a8d2.tar.xz
openshift-9041a816210132b1dad86217ecfef5f9fec4a8d2.zip
Refactor preflight check into roles
Diffstat (limited to 'roles/openshift_preflight/facts')
-rw-r--r--roles/openshift_preflight/facts/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_preflight/facts/tasks/main.yml b/roles/openshift_preflight/facts/tasks/main.yml
new file mode 100644
index 000000000..15a108510
--- /dev/null
+++ b/roles/openshift_preflight/facts/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: set common variables
+ set_fact:
+ deployment_type: "{{ deployment_type | default('openshift-enterprise') }}"
+ containerized: "{{ containerized | default('no') | bool }}"
+ openshift_release: "{{ openshift_release | default('3.3') }}"
+ oo_preflight_check_results: "{{ oo_preflight_check_results | default([]) }}"