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 6f5b1d87f8 - Show all commits

View file

@ -15,10 +15,6 @@
register: check
changed_when: false
- name: dbug
ansible.builtin.debug:
msg: "{{ check }}"
- name: Ensure Admin-User exists
#no_log: true
become_user: gitea
@ -31,4 +27,8 @@
--email "{{ gitea_admin_user }}@mgrote.net" \
--admin
when: 'not "{{ gitea_admin_user }}@mgrote.net" in check.stdout'
- name: Show existing users
ansible.builtin.debug:
msg: "{{ check.stdout_lines }}"
...