copr: builder: drop the baked-in-image mock.cfg.j2 config
This commit is contained in:
parent
ea44bbfe22
commit
fa0e99396f
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue