mirror of
https://gitlab.com/famedly/ansible/modules/matrix.git
synced 2024-05-04 10:26:42 +00:00
8 lines
310 B
Bash
Executable file
8 lines
310 B
Bash
Executable file
#!/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
|