copr: use file module rather then shell: rm
This commit is contained in:
parent
af03addd58
commit
a0023baece
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
||||||
- infra-tags.repo
|
- infra-tags.repo
|
||||||
|
|
||||||
- name: disable updates-testing
|
- name: disable updates-testing
|
||||||
shell: rm -f /etc/yum.repos.d/fedora-updates-testing.repo
|
file:
|
||||||
|
path: /etc/yum.repos.d/fedora-updates-testing.repo
|
||||||
|
state: absent
|
||||||
|
|
||||||
- shell: dnf -y upgrade
|
- shell: dnf -y upgrade
|
||||||
when: prepare_base_image is defined
|
when: prepare_base_image is defined
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue