ff
This commit is contained in:
parent
de4391dac3
commit
6f5b1d87f8
1 changed files with 4 additions and 4 deletions
|
@ -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 }}"
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue