copr: builder: drop the baked-in-image mock.cfg.j2 config

This commit is contained in:
Pavel Raiskup 2019-12-05 10:34:29 +01:00 committed by Pierre-Yves Chibon
parent ea44bbfe22
commit fa0e99396f

View file

@ -38,6 +38,12 @@
when:
- prepare_base_image is defined
- package_facts: manager=auto
- name: remove the baked-in-image mock.cfg.j2, will be reinstalled
file: patht=/etc/copr-rpmbuild/mock.cfg.j2 state=absent
when: ansible_facts.packages['copr-builder'][0].version is version('0.31', '<=')
- name: install copr-builder and other latest packages
dnf: state=latest pkg="{{ packages }}"
vars: