29 lines
690 B
YAML
29 lines
690 B
YAML
---
|
|
- name: upgrade copr distgit
|
|
hosts: copr_dist_git_dev_aws:copr_dist_git_aws
|
|
user: root
|
|
gather_facts: true
|
|
|
|
vars_files:
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
- "/srv/private/ansible/vars.yml"
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
tasks:
|
|
- name: Generic upgrade tasks for copr servers
|
|
import_tasks: _generic_tasks.yml
|
|
|
|
- name: Upgrade copr-distgit packages
|
|
dnf:
|
|
state: latest
|
|
name:
|
|
- dist-git
|
|
- dist-git-selinux
|
|
- copr-dist-git
|
|
- copr-selinux
|
|
- python3-copr
|
|
- python3-copr-common
|
|
update_cache: true
|
|
|
|
handlers:
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|