diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-18 15:53:31 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-20 12:58:42 -0300 |
commit | 3a71ccde5c1a0324648516f761515c09bc461be3 (patch) | |
tree | 5820554aee18c68104eefdb7524b41d7a2c8aa2b /roles/openshift_master | |
parent | ac4ef6bb65c24890592b6b35b11be82f4ddc6deb (diff) | |
download | openshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.gz openshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.bz2 openshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.xz openshift-3a71ccde5c1a0324648516f761515c09bc461be3.zip |
Stop reporting changes when docker pull is already up to date.
Diffstat (limited to 'roles/openshift_master')
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 7a80ed8e3..5c6c64018 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -30,6 +30,8 @@ - name: Pull master image command: > docker pull {{ openshift.master.master_image }}:{{ openshift_image_tag }} + register: pull_result + changed_when: "'Downloaded newer image' in pull_result.stdout" when: openshift.common.is_containerized | bool - name: Create openshift.common.data_dir |