gitea: fix admin user setup #72
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue