sebw / sebw.gotify / 1.0.1 / module / gotify Send a message to Gotify | "added in version" 1.0.0 of sebw.gotify" Authors: Sebastien Wains (@sebw) preview | supported by communitysebw.gotify.gotify (1.0.1) — module
Install with ansible-galaxy collection install sebw.gotify:==1.0.1
collections: - name: sebw.gotify version: 1.0.1
Send messages to a Gotify server, notifying your devices (Android or browser)
# send a message - gotify: url: https://gotify.example.org token: mytokenmustbevaulted title: My Ansible Notification msg: Ansible task finished
# send a message with higher priority - gotify: url: https://gotify.example.org token: mytokenmustbevaulted title: My Ansible Notification msg: Ansible task finished priority: 4
# send a message to a non TLS Gotify instance, running on a non standard port and under /mygotify/ path - gotify: url: http://www.example.org:88/gotify/ token: mytokenmustbevaulted title: My Ansible Notification msg: Ansible task finished
msg: description: - The message body required: true type: str url: description: - URL to connect to required: true type: str title: default: Ansible Notification description: - The title of the message required: false type: str token: description: - Application token required: true type: str priority: default: 2 description: - The message priority (0 to 5) type: int