community / community.general / 0.1.4 / module / bearychat Send BearyChat notifications Authors: Jiangge Zhang (@tonyseek)community.general.bearychat (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
The M(bearychat) module sends notifications to U(https://bearychat.com) via the Incoming Robot integration.
- name: Send notification message via BearyChat local_action: module: bearychat url: | https://hook.bearychat.com/=ae2CF/incoming/e61bd5c57b164e04b11ac02e66f47f60 text: "{{ inventory_hostname }} completed"
- name: Send notification message via BearyChat all options local_action: module: bearychat url: | https://hook.bearychat.com/=ae2CF/incoming/e61bd5c57b164e04b11ac02e66f47f60 text: "{{ inventory_hostname }} completed" markdown: no channel: "#ansible" attachments: - title: "Ansible on {{ inventory_hostname }}" text: "May the Force be with you." color: "#ffffff" images: - http://example.com/index.png
url: description: - BearyChat WebHook URL. This authenticates you to the bearychat service. It looks like C(https://hook.bearychat.com/=ae2CF/incoming/e61bd5c57b164e04b11ac02e66f47f60). required: true text: description: - Message to send. channel: description: - Channel to send the message to. If absent, the message goes to the default channel selected by the I(url). markdown: default: 'yes' description: - If C(yes), text will be parsed as markdown. type: bool attachments: description: - Define a list of attachments. For more information, see https://github.com/bearyinnovative/bearychat-tutorial/blob/master/robots/incoming.md#attachments
msg: description: execution result returned: success sample: OK type: str