diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-11-02 13:26:49 -0400 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-11-03 15:33:17 -0400 |
commit | aa735c4999d555ba7634bbbe337d606a03195072 (patch) | |
tree | 918245e038eaa5ce762f92efe39eebbf05a5d88d /roles/openshift_management/tasks | |
parent | 129e91a3654943228c9ddeb38d6119a706cedcc2 (diff) | |
download | openshift-aa735c4999d555ba7634bbbe337d606a03195072.tar.gz openshift-aa735c4999d555ba7634bbbe337d606a03195072.tar.bz2 openshift-aa735c4999d555ba7634bbbe337d606a03195072.tar.xz openshift-aa735c4999d555ba7634bbbe337d606a03195072.zip |
management: enterprise 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 for enterprise deployment types.
* 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.yml | 15 |
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(', ') }}" |