From 620ca9e79d01029e9ed3d8c1ba78ee198714a234 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 22 Mar 2021 09:00:08 +0100 Subject: [PATCH] Update to 2021-03-22 09:00 --- roles/gitea/defaults/main.yml | 4 ++-- roles/miniflux/defaults/main.yml | 4 ++-- roles/miniflux/tasks/install.yml | 2 ++ roles/miniflux/templates/miniflux.service.j2 | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/gitea/defaults/main.yml b/roles/gitea/defaults/main.yml index e85e950..08c22c1 100644 --- a/roles/gitea/defaults/main.yml +++ b/roles/gitea/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version to install -gitea_version: 1.13.4 +gitea_version: 1.13.5 # URL to the binary gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64 # sha256 of the binary -gitea_bin_sha256: dc15430fe3eccc1f309051798a156361ed4c0ae7de90d83f1f904429a2838033 +gitea_bin_sha256: 31013592a84a1dcf4caebed3f7fe72033dae8bdf9097ea2ce1eb15226cf6ced2 # Handle updates. If set to false, ansible will only install # Gitea and then won't touch an existing installation gitea_manage_upgrade: True diff --git a/roles/miniflux/defaults/main.yml b/roles/miniflux/defaults/main.yml index 06cc84f..973b02a 100644 --- a/roles/miniflux/defaults/main.yml +++ b/roles/miniflux/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version to install -miniflux_version: 2.0.28 +miniflux_version: 2.0.29 # URL of the binary to install miniflux_bin_url: https://github.com/miniflux/v2/releases/download/{{ miniflux_version }}/miniflux-linux-amd64 # Expected sha1 of the binary -miniflux_bin_sha1: 9e3ad863c1529d43828748b427f8bfb89b37fc08 +miniflux_bin_sha1: da03cb01b4d9d10687a9d6c452dfc5be9de5c614 # Should ansible handle upgrades ? If false, only initial install will be done miniflux_manage_upgrade: True diff --git a/roles/miniflux/tasks/install.yml b/roles/miniflux/tasks/install.yml index 0607d1c..0704f16 100644 --- a/roles/miniflux/tasks/install.yml +++ b/roles/miniflux/tasks/install.yml @@ -15,10 +15,12 @@ checksum: sha1:{{ miniflux_bin_sha1 }} mode: 755 when: miniflux_install_mode != 'none' + notify: restart miniflux tags: miniflux - name: Install systemd unit template: src=miniflux.service.j2 dest=/etc/systemd/system/miniflux.service + notify: restart miniflux register: miniflux_unit tags: miniflux diff --git a/roles/miniflux/templates/miniflux.service.j2 b/roles/miniflux/templates/miniflux.service.j2 index 3c08dec..4635ac0 100644 --- a/roles/miniflux/templates/miniflux.service.j2 +++ b/roles/miniflux/templates/miniflux.service.j2 @@ -3,7 +3,7 @@ Description=Miniflux Feed Reader After=network.target postgresql.service [Service] -Type=simple +Type=notify EnvironmentFile={{ miniflux_root_dir }}/etc/miniflux.conf User={{ miniflux_user }} ExecStart={{ miniflux_root_dir }}/bin/miniflux