mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
copr: builder: drop the baked-in-image mock.cfg.j2 config
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
ea44bbfe22
commit
fa0e99396f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user