summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-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