summaryrefslogtreecommitdiffstats
path: root/roles/openshift_management/tasks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-04 02:37:58 -0700
committerGitHub <noreply@github.com>2017-11-04 02:37:58 -0700
commitf3d21a11f7e8f0602b593433ef0a36dcb362e5a6 (patch)
tree9551822ca12bd010d09f15cd19c46ddeb868ea3d /roles/openshift_management/tasks
parentbc36b62864f711dbf25e0b17e60806c7e00dfe5c (diff)
parentaa735c4999d555ba7634bbbe337d606a03195072 (diff)
downloadopenshift-f3d21a11f7e8f0602b593433ef0a36dcb362e5a6.tar.gz
openshift-f3d21a11f7e8f0602b593433ef0a36dcb362e5a6.tar.bz2
openshift-f3d21a11f7e8f0602b593433ef0a36dcb362e5a6.tar.xz
openshift-f3d21a11f7e8f0602b593433ef0a36dcb362e5a6.zip
Merge pull request #5991 from tbielawa/gate_cfme
Automatic merge from submit-queue. management: users must acknowledge use of beta software Adds a new role variable, openshift_management_install_beta. This variable defaults to false. The value of this variable is checked during the validation phase. * If true, the install will not continue. * If false, The user is presented with an informative message letting them know this is beta software and there is low/no support at this time. The installation will abort and instruct the user how to continue.
Diffstat (limited to 'roles/openshift_management/tasks')
-rw-r--r--roles/openshift_management/tasks/validate.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/roles/openshift_management/tasks/validate.yml b/roles/openshift_management/tasks/validate.yml
index 8b20bdc5e..b22f36a4f 100644
--- a/roles/openshift_management/tasks/validate.yml
+++ b/roles/openshift_management/tasks/validate.yml
@@ -2,12 +2,25 @@
# Validate configuration parameters passed to the openshift_management role
######################################################################
+# BETA ACKNOWLEDGEMENT
+- name: Ensure BETA software notice has been acknowledged
+ assert:
+ that:
+ - openshift_management_install_beta | default(false) | bool
+ msg: |
+ openshift-management (CFME/MIQ) is currently BETA status. You
+ must set openshift_management_install_beta to true to
+ acknowledge that you accept this risk and understand that
+ support is limited or nonexistent.
+ when:
+ - openshift_deployment_type == 'openshift-enterprise'
+
+######################################################################
# CORE PARAMETERS
- name: Ensure openshift_management_app_template is valid
assert:
that:
- openshift_management_app_template in __openshift_management_app_templates
-
msg: |
"openshift_management_app_template must be one of {{
__openshift_management_app_templates | join(', ') }}"