summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-03-01 10:23:03 +0100
committerGitHub <noreply@github.com>2017-03-01 10:23:03 +0100
commit746042094b969c72b92d321d457b73470276876e (patch)
treea098a0c388f52f610e9b0d694817e33b7bdd9be9
parent5df4b6f9987d44a87dd0e9844ec0810e8c8ac334 (diff)
parentfd05bcdb0fa633e2508d4f6ed9d95e9ac917d4c3 (diff)
downloadopenshift-746042094b969c72b92d321d457b73470276876e.tar.gz
openshift-746042094b969c72b92d321d457b73470276876e.tar.bz2
openshift-746042094b969c72b92d321d457b73470276876e.tar.xz
openshift-746042094b969c72b92d321d457b73470276876e.zip
Merge pull request #3502 from ingvagabund/when-installing-excluder-install-the-latest
install the latest excluders
-rw-r--r--roles/openshift_excluder/tasks/status.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_excluder/tasks/status.yml b/roles/openshift_excluder/tasks/status.yml
index 6ef4af22d..ef118d94c 100644
--- a/roles/openshift_excluder/tasks/status.yml
+++ b/roles/openshift_excluder/tasks/status.yml
@@ -20,6 +20,7 @@
- name: Update to latest excluder packages
package:
name: "{{ openshift.common.service_type }}-excluder"
+ state: latest
when:
- "{{ openshift_excluder_installed.installed_versions | default([]) | length > 0 }}"
- not openshift.common.is_containerized | bool
@@ -27,6 +28,7 @@
- name: Update to the latest docker-excluder packages
package:
name: "{{ openshift.common.service_type }}-docker-excluder"
+ state: latest
when:
- "{{ docker_excluder_installed.installed_versions | default([]) | length > 0 }}"
- not openshift.common.is_containerized | bool