diff --git a/playbooks/manual/upgrade/koji.yml b/playbooks/manual/upgrade/koji.yml index 69fc58bf8a..f9e3fd3ec1 100644 --- a/playbooks/manual/upgrade/koji.yml +++ b/playbooks/manual/upgrade/koji.yml @@ -59,7 +59,10 @@ tasks: - name: Install the koji package, to get the upgrade script. - yum: name=koji state=present + # 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 when: db_upgrade_file is defined - name: Execute the db upgrade script shell: psql koji < {{db_upgrade_file}}