|
|
@ -21,7 +21,7 @@ |
|
|
|
tags: gitea |
|
|
|
tags: gitea |
|
|
|
|
|
|
|
|
|
|
|
- name: Create the admin account |
|
|
|
- name: Create the admin account |
|
|
|
command: "{{ gitea_root_dir }}/bin/gitea admin create-user --name gitadmin --admin --password admin --email admin@example.net --config {{ gitea_root_dir }}/etc/app.ini" |
|
|
|
command: "{{ gitea_root_dir }}/bin/gitea admin user create --name gitadmin --admin --password admin --email admin@example.net --config {{ gitea_root_dir }}/etc/app.ini" |
|
|
|
args: |
|
|
|
args: |
|
|
|
chdir: "{{ gitea_root_dir }}" |
|
|
|
chdir: "{{ gitea_root_dir }}" |
|
|
|
become_user: gitea |
|
|
|
become_user: gitea |
|
|
|