From 265c3f36ab61e20adca35a69cf43acc3a8113f3b Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 5 Sep 2019 12:32:52 +0000 Subject: [PATCH] use inventory hostname as default server name --- defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index f1dcd39..135bea9 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,8 @@ gitea_http_addr: 127.0.0.1 gitea_http_port: 3000 +gitea_server_name: "{{ inventory_hostname }}" + gitea_download_version: 1.5.1 gitea_download_url: https://dl.gitea.io/gitea/{{gitea_download_version}}/gitea-{{gitea_download_version}}-linux-amd64 #gitea_download_url: https://github.com/go-gitea/gitea/releases/download/v{{gitea_download_version}}/gitea-{{gitea_download_version}}-linux-amd64