Send a message to hipchat
parameter | required | default | choices | comments |
---|---|---|---|---|
api (added in 1.6.0) |
no | https://api.hipchat.com/v1 | API url if using a self-hosted hipchat server. For hipchat api version 2 use /v2 path in URI | |
color |
no | yellow |
|
Background color for the message. Default is yellow. |
from |
no | Ansible | Name the message will appear be sent from. max 15 characters. Over 15, will be shorten. | |
msg |
yes | The message body. | ||
msg_format |
no | text |
|
message format. html or text. Default is text. |
notify |
no | yes |
|
notify or not (change the tab color, play a sound, etc) |
room |
yes | ID or name of the room. | ||
token |
yes | API token. | ||
validate_certs (added in 1.5.1) |
no | yes |
|
If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
- hipchat: room=notify msg="Ansible task finished" # Use Hipchat API version 2 - hipchat: api: "https://api.hipchat.com/v2/" token: OAUTH2_TOKEN room: notify msg: "Ansible task finished"
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.