summaryrefslogtreecommitdiffstats
path: root/roles/openshift_web_console
diff options
context:
space:
mode:
authorSamuel Padgett <spadgett@redhat.com>2018-01-23 11:14:08 -0500
committerSamuel Padgett <spadgett@redhat.com>2018-01-23 20:50:01 -0500
commitc3622d040645d5e95ce6e7156fc42a67ebb57663 (patch)
treed419b0b1e9b46977a46e14fe4e17f7f270620a64 /roles/openshift_web_console
parentcd1c2e70df4fa519e88c75fde154cdc4bfc3b9d6 (diff)
downloadopenshift-c3622d040645d5e95ce6e7156fc42a67ebb57663.tar.gz
openshift-c3622d040645d5e95ce6e7156fc42a67ebb57663.tar.bz2
openshift-c3622d040645d5e95ce6e7156fc42a67ebb57663.tar.xz
openshift-c3622d040645d5e95ce6e7156fc42a67ebb57663.zip
Only rollout console if config changed
Diffstat (limited to 'roles/openshift_web_console')
-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