diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-03-21 16:52:50 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-03-21 16:56:11 -0400 |
commit | daf9d723a7b7f8d09706558eb67b7ed5ad6519f6 (patch) | |
tree | 097fa77703ed0f508e1a1c7fab8809419cdf6325 /playbooks/common | |
parent | 03ae7f76debd812264b6831a6f3314825b251abe (diff) | |
download | openshift-daf9d723a7b7f8d09706558eb67b7ed5ad6519f6.tar.gz openshift-daf9d723a7b7f8d09706558eb67b7ed5ad6519f6.tar.bz2 openshift-daf9d723a7b7f8d09706558eb67b7ed5ad6519f6.tar.xz openshift-daf9d723a7b7f8d09706558eb67b7ed5ad6519f6.zip |
Update imageConfig.format on upgrades to match oreg_url
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml index e16a1f6d0..c6e799261 100644 --- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml +++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml @@ -64,6 +64,7 @@ static: yes roles: - openshift_facts + - lib_utils post_tasks: # Run the pre-upgrade hook if defined: @@ -113,6 +114,13 @@ state: link when: ca_crt_stat.stat.isreg and not ca_bundle_stat.stat.exists + - name: Update oreg value + yedit: + src: "{{ openshift.common.config_base }}/master/master-config.yaml" + key: 'imageConfig.format' + value: "{{ oreg_url }}" + when: oreg_url is defined + # Run the upgrade hook prior to restarting services/system if defined: - debug: msg="Running master upgrade hook {{ openshift_master_upgrade_hook }}" when: openshift_master_upgrade_hook is defined |