main.yml 161 B

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