From 87ea43ceca4044f79f66c9c99a04a29fb2877c41 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Jun 11 2019 14:56:19 +0000 Subject: koji: yum -> package Signed-off-by: Nils Philippsen --- diff --git a/playbooks/manual/upgrade/koji.yml b/playbooks/manual/upgrade/koji.yml index 4e9848e..a9ffdd0 100644 --- a/playbooks/manual/upgrade/koji.yml +++ b/playbooks/manual/upgrade/koji.yml @@ -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