diff --git a/roles/mgrote_gitea_setup/tasks/admin.yml b/roles/mgrote_gitea_setup/tasks/admin.yml index b51c9751..e3a0287a 100644 --- a/roles/mgrote_gitea_setup/tasks/admin.yml +++ b/roles/mgrote_gitea_setup/tasks/admin.yml @@ -10,9 +10,8 @@ become_user: gitea become: true ansible.builtin.command: | - forgejo admin user create \ + forgejo admin user list \ --config "{{ gitea_configuration_path }}/gitea.ini" - --list register: check - name: Ensure Admin-User exists