admin: launching command with git user instead of root
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
9e978c0d94
commit
6abaec8e0e
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
- name: Create main Gitea admin user
|
- name: Create main Gitea admin user
|
||||||
command: |
|
command: |
|
||||||
docker exec -i {{ gitea_app_cont_name }} \
|
docker exec --user {{ gitea_app_cont_uid }} -i {{ gitea_app_cont_name }} \
|
||||||
gitea admin create-user --admin \
|
gitea admin user create --admin \
|
||||||
--username '{{ gitea_app_admin_user | mandatory }}' \
|
--username '{{ gitea_app_admin_user | mandatory }}' \
|
||||||
--password '{{ gitea_app_admin_pass | mandatory }}' \
|
--password '{{ gitea_app_admin_pass | mandatory }}' \
|
||||||
--email '{{ gitea_app_admin_email | mandatory }}' \
|
--email '{{ gitea_app_admin_email | mandatory }}' \
|
||||||
|
|
Loading…
Reference in New Issue