From a30b91640e237441f5ab0d50e9bf9b9edd68984a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 10 Mar 2020 19:13:04 +0100 Subject: [PATCH] Default to the latest version. Fix a typo. --- library/roles/gitea/defaults/main.yml | 2 +- library/roles/gitea/tasks/main.yml | 2 +- library/roles/gitea/templates/app.ini.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/roles/gitea/defaults/main.yml b/library/roles/gitea/defaults/main.yml index 0dfe84b..d0678f6 100644 --- a/library/roles/gitea/defaults/main.yml +++ b/library/roles/gitea/defaults/main.yml @@ -5,7 +5,7 @@ # We use the server ssh daemon, and nginx in front of the service by default. # So we do not start in http mode and we do not use the embedded letsencrypt support # -gitea_version: 1.8 +gitea_version: 1.11.2 gitea_download_url: 'https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64' gitea_bin_path: /usr/local/bin/gitea diff --git a/library/roles/gitea/tasks/main.yml b/library/roles/gitea/tasks/main.yml index 59b7890..11521a1 100644 --- a/library/roles/gitea/tasks/main.yml +++ b/library/roles/gitea/tasks/main.yml @@ -41,6 +41,6 @@ when: gitea_systemd_unit is changed - name: Ensure that the gitea service is running and enabled - service: name=gitea status=started enabled=yes + service: name=gitea state=started enabled=yes tags: [ 'git', 'gitea' ] diff --git a/library/roles/gitea/templates/app.ini.j2 b/library/roles/gitea/templates/app.ini.j2 index 879ed5d..f0d1032 100644 --- a/library/roles/gitea/templates/app.ini.j2 +++ b/library/roles/gitea/templates/app.ini.j2 @@ -62,4 +62,4 @@ SHOW_FOOTER_VERSION = false SHOW_FOOTER_TEMPLATE_LOAD_TIME = false [log] -LEVEL = {{ gitea_log_level }} \ No newline at end of file +LEVEL = {{ gitea_log_level }}