community / community.general / 0.1.4 / module / hipchat Send a message to Hipchat. Authors: Shirou Wakayama (@shirou), Paul Bourdel (@pb8226)community.general.hipchat (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
Send a message to a Hipchat room, with options to control the formatting.
- name: Send a message to a Hipchat room hipchat: room: notif msg: Ansible task finished
- name: Send a message to a Hipchat room using Hipchat API version 2 hipchat: api: https://api.hipchat.com/v2/ token: OAUTH2_TOKEN room: notify msg: Ansible task finished
api: default: https://api.hipchat.com/v1 description: - API url if using a self-hosted hipchat server. For Hipchat API version 2 use the default URI with C(/v2) instead of C(/v1). msg: description: - The message body. required: true from: default: Ansible description: - Name the message will appear to be sent from. Max length is 15 characters - above this it will be truncated. room: description: - ID or name of the room. required: true color: choices: - yellow - red - green - purple - gray - random default: yellow description: - Background color for the message. token: description: - API token. required: true notify: default: 'yes' description: - If true, a notification will be triggered for users in the room. type: bool msg_format: choices: - text - html default: text description: - Message format. validate_certs: default: 'yes' description: - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool