summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-01-24 06:35:42 -0800
committerGitHub <noreply@github.com>2018-01-24 06:35:42 -0800
commita5cb77982ad02e4654df8d6a266927035da51e9b (patch)
treec781b49ac7166a1ee6898ba36d2dfa2c77582ad3
parent7e112b2c5893623dcd059813c993b0fab57e58b4 (diff)
parentc3622d040645d5e95ce6e7156fc42a67ebb57663 (diff)
downloadopenshift-a5cb77982ad02e4654df8d6a266927035da51e9b.tar.gz
openshift-a5cb77982ad02e4654df8d6a266927035da51e9b.tar.bz2
openshift-a5cb77982ad02e4654df8d6a266927035da51e9b.tar.xz
openshift-a5cb77982ad02e4654df8d6a266927035da51e9b.zip
Merge pull request #6836 from spadgett/rollout-only-if-changed
Automatic merge from submit-queue. Only rollout console if config changed /assign @sdodson @jwforres FYI
-rw-r--r--roles/openshift_web_console/tasks/update_console_config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_web_console/tasks/update_console_config.yml b/roles/openshift_web_console/tasks/update_console_config.yml
index 41da2c16a..967222ea4 100644
--- a/roles/openshift_web_console/tasks/update_console_config.yml
+++ b/roles/openshift_web_console/tasks/update_console_config.yml
@@ -55,6 +55,7 @@
state: present
from_file:
webconsole-config.yaml: "{{ mktemp_console.stdout }}/webconsole-config.yaml"
+ register: update_console_config_map
- name: Remove temp directory
file:
@@ -62,5 +63,5 @@
name: "{{ mktemp_console.stdout }}"
changed_when: False
- # TODO: Only rollout if config has changed.
- include_tasks: rollout_console.yml
+ when: update_console_config_map.changed | bool