copr: be: better disable dnf warning
'warn' is not task argument, but command's
This commit is contained in:
parent
e42e9cc6d7
commit
7c8adb0cd6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue