mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
copr-frontend: upgrade using dnf command
The Ansible dnf module still fails to update packages to the latest versions, for an unknown reason.
This commit is contained in:
@@ -28,14 +28,8 @@
|
||||
when: frontend_has_update.changed
|
||||
|
||||
- name: Upgrade copr-frontend packages
|
||||
dnf:
|
||||
state: latest
|
||||
name:
|
||||
- copr-frontend
|
||||
- copr-frontend-fedora
|
||||
- copr-selinux
|
||||
- python3-copr-common
|
||||
update_cache: true
|
||||
ansible.builtin.shell: dnf update -y copr-frontend copr-frontend-fedora copr-selinux python3-copr-common
|
||||
when: frontend_has_update.changed
|
||||
|
||||
- name: Upgrade db to head, logs in /var/log/copr-frontend/migrations.log
|
||||
ansible.builtin.shell: alembic-3 upgrade head &> /var/log/copr-frontend/migrations.log
|
||||
|
||||
Reference in New Issue
Block a user