koji: yum -> package
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
e61cf74291
commit
87ea43ceca
1 changed files with 4 additions and 4 deletions
|
@ -67,7 +67,7 @@
|
|||
# Note that "latest" here might as well be "present". The package shouldn't
|
||||
# be present in the first place. In any case, if it is erroneously present,
|
||||
# then we really do want the latest version.
|
||||
yum: name=koji state=latest update_cache=yes
|
||||
package: name=koji state=latest update_cache=yes
|
||||
when: db_upgrade_file is defined
|
||||
- name: Execute the db upgrade script
|
||||
shell: psql koji < {{db_upgrade_file}}
|
||||
|
@ -75,7 +75,7 @@
|
|||
become_user: postgres
|
||||
when: db_upgrade_file is defined
|
||||
- name: Remove the package, since we no longer need the script.
|
||||
yum: name=koji state=absent
|
||||
package: name=koji state=absent
|
||||
when: db_upgrade_file is defined
|
||||
|
||||
- name: update and restart the koji hubs before we touch the builders
|
||||
|
@ -86,7 +86,7 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
tasks:
|
||||
- yum: name=koji-hub state=latest update_cache=yes
|
||||
- package: name=koji-hub state=latest update_cache=yes
|
||||
- name: restart httpd on the koji-hubs.
|
||||
service: name="httpd" state=started
|
||||
- name: unsilence nagios
|
||||
|
@ -102,6 +102,6 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
tasks:
|
||||
- yum: name=koji-builder state=latest update_cache=yes
|
||||
- package: name=koji-builder state=latest update_cache=yes
|
||||
- name: restart all the builders. so many.
|
||||
service: name="kojid" state=restarted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue