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:
parent
d2873f81f7
commit
33e01feafc
1 changed files with 2 additions and 8 deletions
|
@ -28,14 +28,8 @@
|
||||||
when: frontend_has_update.changed
|
when: frontend_has_update.changed
|
||||||
|
|
||||||
- name: Upgrade copr-frontend packages
|
- name: Upgrade copr-frontend packages
|
||||||
dnf:
|
ansible.builtin.shell: dnf update -y copr-frontend copr-frontend-fedora copr-selinux python3-copr-common
|
||||||
state: latest
|
when: frontend_has_update.changed
|
||||||
name:
|
|
||||||
- copr-frontend
|
|
||||||
- copr-frontend-fedora
|
|
||||||
- copr-selinux
|
|
||||||
- python3-copr-common
|
|
||||||
update_cache: true
|
|
||||||
|
|
||||||
- name: Upgrade db to head, logs in /var/log/copr-frontend/migrations.log
|
- 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
|
ansible.builtin.shell: alembic-3 upgrade head &> /var/log/copr-frontend/migrations.log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue