mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-21 21:45:36 +00:00
Changed mailu token name
This commit is contained in:
@@ -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 }}'
|
||||
|
||||
Reference in New Issue
Block a user