summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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