diff --git a/roles/copr/backend/files/provision/provision_builder_tasks.yml b/roles/copr/backend/files/provision/provision_builder_tasks.yml index 7ebc74218e..185d512015 100644 --- a/roles/copr/backend/files/provision/provision_builder_tasks.yml +++ b/roles/copr/backend/files/provision/provision_builder_tasks.yml @@ -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: