1 2 3 4 5 6 7 8 9 10
--- - yum: name: copr-cli state: present when: ansible_pkg_mgr == "yum" - dnf: name: copr-cli state: present when: ansible_pkg_mgr == "dnf"