gitea: fix bugs with auto upgrade
This commit is contained in:
parent
37ec31b97d
commit
aac3f53d95
@ -10,3 +10,4 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart gitea
|
- restart gitea
|
||||||
retries: 3
|
retries: 3
|
||||||
|
when: gitea_version != gitea_local_version
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- name: set gitea_installed
|
- name: set gitea_installed
|
||||||
set_fact:
|
set_fact:
|
||||||
gitea_installed: st.stat.exists
|
gitea_installed: "{{ st.stat.exists | bool }}"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: determine latest version
|
- name: determine latest version
|
||||||
@ -36,7 +36,7 @@
|
|||||||
- name: set gitea_local_version to 0
|
- name: set gitea_local_version to 0
|
||||||
set_fact:
|
set_fact:
|
||||||
gitea_local_version: "0"
|
gitea_local_version: "0"
|
||||||
when: not gitea_installed | bool
|
when: not (gitea_installed | bool)
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: get checksums
|
- name: get checksums
|
||||||
|
Loading…
Reference in New Issue
Block a user