From 609a47de72423349052db892c01017eaf80711a7 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Tue, 9 Apr 2019 13:04:29 +0200 Subject: [PATCH] Update gitea and create shell variable The current gitea version is updated to 1.7.5. And now you are able to customize the shell of your gitea user. [Issue 14](https://github.com/thomas-maurice/ansible-role-gitea/issues/14) --- defaults/main.yml | 3 ++- tasks/create_user.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 14810e8..432715d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,9 +1,10 @@ --- -gitea_version: "1.7.4" +gitea_version: "1.7.5" gitea_app_name: "Gitea" gitea_user: "gitea" gitea_home: "/var/lib/gitea" +gitea_shell: "/bin/false" gitea_user_repo_limit: -1 diff --git a/tasks/create_user.yml b/tasks/create_user.yml index cb22b62..306c2d6 100644 --- a/tasks/create_user.yml +++ b/tasks/create_user.yml @@ -4,4 +4,4 @@ name: "{{ gitea_user }}" comment: "Gitea user" home: "{{ gitea_home }}" - shell: "/bin/false" + shell: "{{ gitea_shell }}"