Closure of octo.sh is scheduled for May 1st 2019. Please migrate as soon as possible. Repositories backups will be available upon request, after the server is offline. Contact: gitlab@octo.im

Verified Commit f09880e7 authored by Sheogorath's avatar Sheogorath

Fix idempotence for hugo

The recent addition of the hugo module broke the idempotence tests for 
the repo. because the installation of the copr repo as a second step 
doesn't upgrade hugo directly.

This patch fixes the idempotence problem by adding a handler that is 
triggered to make sure hugo is on latest package state.
parent 3c987812
Pipeline #644 failed with stage
in 46 minutes and 49 seconds
---
# Makes upgrade idempotent
- name: Install latest hugo
dnf:
name: hugo
state: latest
tags:
- hugo
- dnf
- packages
become: true
when: hugo_sass
......@@ -26,6 +26,7 @@
- dnf
- gpg-key
- download
notify: Install latest hugo
become: true
when: hugo_sass
......@@ -38,4 +39,4 @@
- hugo
- dnf
- packages
become: true
\ No newline at end of file
become: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment