Update to 2021-03-22 09:00

master
Daniel Berteaud 4 years ago
parent aa49738a76
commit 620ca9e79d
  1. 4
      roles/gitea/defaults/main.yml
  2. 4
      roles/miniflux/defaults/main.yml
  3. 2
      roles/miniflux/tasks/install.yml
  4. 2
      roles/miniflux/templates/miniflux.service.j2

@ -1,11 +1,11 @@
--- ---
# Version to install # Version to install
gitea_version: 1.13.4 gitea_version: 1.13.5
# URL to the binary # URL to the binary
gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64 gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
# sha256 of the binary # sha256 of the binary
gitea_bin_sha256: dc15430fe3eccc1f309051798a156361ed4c0ae7de90d83f1f904429a2838033 gitea_bin_sha256: 31013592a84a1dcf4caebed3f7fe72033dae8bdf9097ea2ce1eb15226cf6ced2
# Handle updates. If set to false, ansible will only install # Handle updates. If set to false, ansible will only install
# Gitea and then won't touch an existing installation # Gitea and then won't touch an existing installation
gitea_manage_upgrade: True gitea_manage_upgrade: True

@ -1,11 +1,11 @@
--- ---
# Version to install # Version to install
miniflux_version: 2.0.28 miniflux_version: 2.0.29
# URL of the binary to install # URL of the binary to install
miniflux_bin_url: https://github.com/miniflux/v2/releases/download/{{ miniflux_version }}/miniflux-linux-amd64 miniflux_bin_url: https://github.com/miniflux/v2/releases/download/{{ miniflux_version }}/miniflux-linux-amd64
# Expected sha1 of the binary # 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 # Should ansible handle upgrades ? If false, only initial install will be done
miniflux_manage_upgrade: True miniflux_manage_upgrade: True

@ -15,10 +15,12 @@
checksum: sha1:{{ miniflux_bin_sha1 }} checksum: sha1:{{ miniflux_bin_sha1 }}
mode: 755 mode: 755
when: miniflux_install_mode != 'none' when: miniflux_install_mode != 'none'
notify: restart miniflux
tags: miniflux tags: miniflux
- name: Install systemd unit - name: Install systemd unit
template: src=miniflux.service.j2 dest=/etc/systemd/system/miniflux.service template: src=miniflux.service.j2 dest=/etc/systemd/system/miniflux.service
notify: restart miniflux
register: miniflux_unit register: miniflux_unit
tags: miniflux tags: miniflux

@ -3,7 +3,7 @@ Description=Miniflux Feed Reader
After=network.target postgresql.service After=network.target postgresql.service
[Service] [Service]
Type=simple Type=notify
EnvironmentFile={{ miniflux_root_dir }}/etc/miniflux.conf EnvironmentFile={{ miniflux_root_dir }}/etc/miniflux.conf
User={{ miniflux_user }} User={{ miniflux_user }}
ExecStart={{ miniflux_root_dir }}/bin/miniflux ExecStart={{ miniflux_root_dir }}/bin/miniflux

Loading…
Cancel
Save