summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-22 17:30:30 -0500
committerGitHub <noreply@github.com>2017-03-22 17:30:30 -0500
commit763831e73432ab3db69efdbfd06a171be7d0a2af (patch)
tree14fa4a8ce48add38a18daff5cfe7bec1df50694a /roles/openshift_node_upgrade
parent27e47d32dc795dd27e901ca8618c90b7c1303547 (diff)
parentdaf9d723a7b7f8d09706558eb67b7ed5ad6519f6 (diff)
downloadopenshift-763831e73432ab3db69efdbfd06a171be7d0a2af.tar.gz
openshift-763831e73432ab3db69efdbfd06a171be7d0a2af.tar.bz2
openshift-763831e73432ab3db69efdbfd06a171be7d0a2af.tar.xz
openshift-763831e73432ab3db69efdbfd06a171be7d0a2af.zip
Merge pull request #3726 from sdodson/oreg_url_on_upgrade
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r--roles/openshift_node_upgrade/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/main.yml b/roles/openshift_node_upgrade/tasks/main.yml
index 2467dc971..f052ed505 100644
--- a/roles/openshift_node_upgrade/tasks/main.yml
+++ b/roles/openshift_node_upgrade/tasks/main.yml
@@ -73,6 +73,13 @@
# Mandatory Docker restart, ensure all containerized services are running:
- include: docker/restart.yml
+- name: Update oreg value
+ yedit:
+ src: "{{ openshift.common.config_base }}/node/node-config.yaml"
+ key: 'imageConfig.format'
+ value: "{{ oreg_url }}"
+ when: oreg_url is defined
+
- name: Restart rpm node service
service:
name: "{{ openshift.common.service_type }}-node"