Changed mailu token name

This commit is contained in:
2025-10-12 14:36:13 +02:00
parent 0e0b703ccd
commit b2978a3141

View File

@@ -17,7 +17,7 @@
mailu_tokens_cli.stdout
| default('[]')
| from_json
| selectattr('comment','equalto', mailu_user_key ~ " - ansible.infinito")
| selectattr('comment','equalto', SOFTWARE_NAME)
| list
).0 | default(None) }}
@@ -43,7 +43,7 @@
-H "Authorization: Bearer {{ MAILU_API_TOKEN }}"
-H "Content-Type: application/json"
-d '{{ {
"comment": mailu_user_key ~ " - ansible.infinito",
"comment": SOFTWARE_NAME,
"email": users[mailu_user_key].email,
"ip": mailu_token_ip
} | to_json }}'