mirror of
https://gitlab.com/famedly/ansible/modules/matrix.git
synced 2024-05-17 12:06:44 +00:00
8 lines
310 B
Bash
8 lines
310 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source test-settings.sh
|
||
|
|
||
|
notification_resp=` echo "{\"ANSIBLE_MODULE_ARGS\": {\"hs_url\": \"${HS_URL}\", \"token\": \"${TOKEN}\", \"room_id\": \"${ROOM_ID}\", \"msg_plain\": \"**Hello, World!**\", \"msg_html\": \"<b>Hello, World!</b>\"}}" | python matrix-notification.py`
|
||
|
|
||
|
echo $notification_resp
|