copr: be: better disable dnf warning

'warn' is not task argument, but command's
This commit is contained in:
Pavel Raiskup 2019-11-27 11:15:37 +01:00 committed by Pierre-Yves Chibon
parent e42e9cc6d7
commit 7c8adb0cd6

View file

@ -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