gitea: fix admin user setup #72

Merged
mg merged 16 commits from ga into master 2024-05-13 12:00:02 +02:00
Showing only changes of commit cdc3d842a5 - Show all commits

View file

@ -6,13 +6,14 @@
# den jeweiligen group/host-Vars! # den jeweiligen group/host-Vars!
- name: Check if Admin-User exists - name: Check if Admin-User exists
# no_log: true no_log: true
become_user: gitea become_user: gitea
become: true become: true
ansible.builtin.command: | ansible.builtin.command: |
forgejo admin user list \ forgejo admin user list \
--config "{{ gitea_configuration_path }}/gitea.ini" --config "{{ gitea_configuration_path }}/gitea.ini"
register: check register: check
changed_when: false
- name: Ensure Admin-User exists - name: Ensure Admin-User exists
#no_log: true #no_log: true