hipchat - Send a message to hipchat

Author:WAKAYAMA Shirou

Synopsis

New in version 1.2.

Send a message to hipchat

Options

parameter required default choices comments
api no https://api.hipchat.com/v1/rooms/message
    API url if using a self-hosted hipchat server (added in Ansible 1.6.0)
    color no yellow
    • yellow
    • red
    • green
    • purple
    • gray
    • random
    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
        • text
        • html
        message format. html or text. Default is text.
        notify no yes
        • yes
        • no
        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 no yes
            • yes
            • no
            If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. (added in Ansible 1.5.1)

            Note

            Requires urllib

            Note

            Requires urllib2

            Examples


            - hipchat: token=AAAAAA room=notify msg="Ansible task finished"
            

            Table Of Contents

            Previous topic

            grove - Sends a notification to a grove.io channel

            Next topic

            irc - Send a message to an IRC channel