From ad94498ce040e800446b5eb68f1d41c432e1dc44 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sat, 21 Sep 2024 18:31:16 -0400 Subject: [PATCH] create git user to run the gitea --- playbooks/setup_database_gitea.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/setup_database_gitea.yml b/playbooks/setup_database_gitea.yml index 5efd18c..117d9bc 100644 --- a/playbooks/setup_database_gitea.yml +++ b/playbooks/setup_database_gitea.yml @@ -95,8 +95,16 @@ - name: display results of gpg verification for go binary ansible.builtin.debug: var: gpg_result + ignore_errors: true + - name: creates user to run gitea + ansible.builtin.user: + name: git + shell: /bin/bash + system: true + comment: "Gitea repo manager" + state: present