From 7c8adb0cd6c2619ece1b3b615e5def9685ef9a61 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 27 Nov 2019 11:15:37 +0100 Subject: [PATCH] copr: be: better disable dnf warning 'warn' is not task argument, but command's --- .../copr/backend/files/provision/provision_builder_tasks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/copr/backend/files/provision/provision_builder_tasks.yml b/roles/copr/backend/files/provision/provision_builder_tasks.yml index 9db435281e..d9d0a3ee10 100644 --- a/roles/copr/backend/files/provision/provision_builder_tasks.yml +++ b/roles/copr/backend/files/provision/provision_builder_tasks.yml @@ -19,13 +19,14 @@ when: prepare_base_image is defined - name: enable copr and copr-dev repos in staging - command: dnf copr -y enable {{ item }} + command: + cmd: dnf copr -y enable {{ item }} + warn: no with_items: - "@copr/copr" when: - devel - prepare_base_image is not defined - warn: false - name: clean dnf cache shell: dnf clean all