diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-09-22 11:51:23 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-09-22 14:06:59 -0400 |
commit | 95b7ffbb4a65ca62af37192aaf8006f50a207440 (patch) | |
tree | 35347d3b745a2a06688a112171cba0caf2dd8f75 /playbooks/common/openshift-cluster/upgrades | |
parent | 5b1bb00a2f02e51ab493e86eb4d8b6e264e3268d (diff) | |
download | openshift-95b7ffbb4a65ca62af37192aaf8006f50a207440.tar.gz openshift-95b7ffbb4a65ca62af37192aaf8006f50a207440.tar.bz2 openshift-95b7ffbb4a65ca62af37192aaf8006f50a207440.tar.xz openshift-95b7ffbb4a65ca62af37192aaf8006f50a207440.zip |
Allow examples management to be disabled
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/post_control_plane.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml index d9ddf3860..07e521a89 100644 --- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml +++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml @@ -90,10 +90,12 @@ # openshift_examples from failing when trying to replace templates that do # not already exist. We could have potentially done a replace --force to # create and update in one step. - - openshift_examples + - role: openshift_examples + when: openshift_install_examples | default(true,true) | bool - openshift_hosted_templates # Update the existing templates - role: openshift_examples + when: openshift_install_examples | default(true,true) | bool registry_url: "{{ openshift.master.registry_url }}" openshift_examples_import_command: replace - role: openshift_hosted_templates |