copr-be: use copr ansible plugin for enabling @copr/copr

This commit is contained in:
Pavel Raiskup 2021-07-12 17:16:13 +02:00
parent b94611c483
commit d081f58518

View file

@ -19,9 +19,9 @@
when: prepare_base_image is defined
- name: enable copr repo in staging
command:
cmd: dnf copr -y enable {{ item }}
warn: no
community.general.copr:
state: enabled
name: "{{ item }}"
with_items:
- "@copr/copr"
when: