From 2c0e8e5d3f2b34b616f8160e8667b8596a8e9541 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 1 Aug 2017 13:25:56 +0000 Subject: [PATCH] Use latest, just to be sure. --- playbooks/manual/upgrade/koji.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}}