summaryrefslogtreecommitdiffstats
path: root/roles/copr_cli
diff options
context:
space:
mode:
Diffstat (limited to 'roles/copr_cli')
-rw-r--r--roles/copr_cli/tasks/main.yml10
1 files changed, 1 insertions, 9 deletions
diff --git a/roles/copr_cli/tasks/main.yml b/roles/copr_cli/tasks/main.yml
index f8496199d..4bfd551d3 100644
--- a/roles/copr_cli/tasks/main.yml
+++ b/roles/copr_cli/tasks/main.yml
@@ -1,10 +1,2 @@
---
-- yum:
- name: copr-cli
- state: present
- when: ansible_pkg_mgr == "yum"
-
-- dnf:
- name: copr-cli
- state: present
- when: ansible_pkg_mgr == "dnf"
+- action: "{{ ansible_pkg_mgr }} name=copr-cli state=present"