Skip to content

Commit

Permalink
Merge pull request #7200 from mgugino-upstream-stage/webconsole-versi…
Browse files Browse the repository at this point in the history
…on-check

Fix openshift-webconsole version check
  • Loading branch information
michaelgugino committed Feb 20, 2018
2 parents 54306e8 + eba040f commit a060e22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions playbooks/common/private/components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
- import_playbook: ../../openshift-hosted/private/config.yml

- import_playbook: ../../openshift-web-console/private/config.yml
when:
- openshift_web_console_install | default(true) | bool
- openshift.common.version_gte_3_9
when: openshift_web_console_install | default(true) | bool

- import_playbook: ../../openshift-metrics/private/config.yml
when: openshift_metrics_install_metrics | default(false) | bool
Expand Down
7 changes: 5 additions & 2 deletions playbooks/openshift-web-console/private/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@

- name: Web Console
hosts: oo_first_master
roles:
- openshift_web_console
vars:
first_master: "{{ groups.oo_first_master[0] }}"
tasks:
- debug: msg="{{ openshift_version | version_compare('3.9', '>=') }}"
- import_role:
name: openshift_web_console
when: openshift_version | version_compare('3.9', '>=')

- name: Web Console Install Checkpoint End
hosts: all
Expand Down

0 comments on commit a060e22

Please sign in to comment.