Add git safe.directory config to forgejo role for SSH clone access
This commit is contained in:
parent
9f99683140
commit
2c6dfcfcb6
1 changed files with 5 additions and 0 deletions
|
|
@ -103,6 +103,11 @@
|
|||
until: web_ready.status == 200
|
||||
changed_when: false
|
||||
|
||||
- name: Configure git safe.directory for all repos
|
||||
ansible.builtin.command:
|
||||
cmd: docker exec forgejo git config --system safe.directory '*'
|
||||
changed_when: false
|
||||
|
||||
- name: Create admin user (first deploy only)
|
||||
ansible.builtin.command:
|
||||
cmd: >
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue