diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-24 06:35:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 06:35:42 -0800 |
commit | a5cb77982ad02e4654df8d6a266927035da51e9b (patch) | |
tree | c781b49ac7166a1ee6898ba36d2dfa2c77582ad3 /roles | |
parent | 7e112b2c5893623dcd059813c993b0fab57e58b4 (diff) | |
parent | c3622d040645d5e95ce6e7156fc42a67ebb57663 (diff) | |
download | openshift-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
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_web_console/tasks/update_console_config.yml | 3 |
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 |