copr: backend: assure createrepo_c >= 0.15.5

This commit is contained in:
Pavel Raiskup 2020-01-14 14:06:39 +01:00 committed by Pierre-Yves Chibon
parent f280cabfe8
commit 6d32ca5431

View file

@ -25,5 +25,12 @@
- prunerepo
update_cache: true
- name: Upgrade createrepo_c from updates-testing, when needed
dnf: state=latest
name=createrepo_c
enablerepo=updates-testing
when:
when: ansible_facts.packages['createrepo_c'][0].version is version('0.15.5', '<')
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"