summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_repos/handlers')
-rw-r--r--roles/openshift_repos/handlers/main.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/openshift_repos/handlers/main.yml b/roles/openshift_repos/handlers/main.yml
index fed4ab2f0..198fc7d6e 100644
--- a/roles/openshift_repos/handlers/main.yml
+++ b/roles/openshift_repos/handlers/main.yml
@@ -1,6 +1,3 @@
---
-- name: refresh yum cache
- command: yum clean all
-
-- name: refresh dnf cache
- command: dnf clean all
+- name: refresh cache
+ command: "{{ ansible_pkg_mgr }} clean all"