Use latest, just to be sure.

This commit is contained in:
Ralph Bean 2017-08-01 13:25:56 +00:00
parent f0782cda43
commit 2c0e8e5d3f

View file

@ -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}}