mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-13 04:34:24 +00:00
Changed mailu token name
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
mailu_tokens_cli.stdout
|
mailu_tokens_cli.stdout
|
||||||
| default('[]')
|
| default('[]')
|
||||||
| from_json
|
| from_json
|
||||||
| selectattr('comment','equalto', mailu_user_key ~ " - ansible.infinito")
|
| selectattr('comment','equalto', SOFTWARE_NAME)
|
||||||
| list
|
| list
|
||||||
).0 | default(None) }}
|
).0 | default(None) }}
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
-H "Authorization: Bearer {{ MAILU_API_TOKEN }}"
|
-H "Authorization: Bearer {{ MAILU_API_TOKEN }}"
|
||||||
-H "Content-Type: application/json"
|
-H "Content-Type: application/json"
|
||||||
-d '{{ {
|
-d '{{ {
|
||||||
"comment": mailu_user_key ~ " - ansible.infinito",
|
"comment": SOFTWARE_NAME,
|
||||||
"email": users[mailu_user_key].email,
|
"email": users[mailu_user_key].email,
|
||||||
"ip": mailu_token_ip
|
"ip": mailu_token_ip
|
||||||
} | to_json }}'
|
} | to_json }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user