From 85e13d93691d54db6994116f3ef7d9244a62c350 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 3 Apr 2024 23:03:37 +0200 Subject: [PATCH] d --- roles/mgrote_gitea_setup/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/mgrote_gitea_setup/tasks/main.yml b/roles/mgrote_gitea_setup/tasks/main.yml index 5c8c1733..2e7cfb8f 100644 --- a/roles/mgrote_gitea_setup/tasks/main.yml +++ b/roles/mgrote_gitea_setup/tasks/main.yml @@ -20,6 +20,7 @@ --synchronize-users register: configured ignore_errors: true + become_user: gitea - name: debug ansible.builtin.debug: @@ -28,5 +29,6 @@ - name: Modify LDAP config ansible.builtin.command: cat /etc/motd when: not configured.changed or configured + become_user: gitea ...