chore: Define gitea token scopes

This commit is contained in:
Danny Bessems 2024-06-09 17:09:37 +10:00
parent 2473aa05dc
commit afe29e3407

@ -55,6 +55,7 @@
force_basic_auth: yes
body:
name: token_init_{{ lookup('password', '/dev/null length=5 chars=ascii_letters,digits') }}
scopes: ["write:user","write:organization"]
register: gitea_api_token
- name: Retrieve existing gitea configuration