Browse Source

Always ensure master config has proper url upgrade

This commit ensures oreg_url or proper default
is set during upgrades.
Michael Gugino 6 years ago
parent
commit
e20c3b5188
1 changed files with 1 additions and 2 deletions
  1. 1 2
      roles/openshift_control_plane/tasks/upgrade.yml

+ 1 - 2
roles/openshift_control_plane/tasks/upgrade.yml

@@ -56,8 +56,7 @@
   yedit:
     src: "{{ openshift.common.config_base }}/master/master-config.yaml"
     key: 'imageConfig.format'
-    value: "{{ oreg_url }}"
-  when: oreg_url is defined
+    value: "{{ openshift_imageconfig_format }}"
 
 - name: Change default node selector to compute=true
   yedit: