copr: use file module rather then shell: rm

This commit is contained in:
Miroslav Suchý 2017-11-16 16:37:02 +01:00
parent af03addd58
commit a0023baece

View file

@ -4,7 +4,9 @@
- infra-tags.repo
- 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
when: prepare_base_image is defined