ansible.builtin.flowdock (v2.9.27) — module

Send a message to a flowdock

| "added in version" 1.2 of ansible.builtin"

Authors: Matt Coddington (@mcodd)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Send a message to a flowdock team inbox or chat using the push API (see https://www.flowdock.com/api/team-inbox and https://www.flowdock.com/api/chat)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- flowdock:
    type: inbox
    token: AAAAAA
    from_address: user@example.com
    source: my cool app
    msg: test from ansible
    subject: test subject
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- flowdock:
    type: chat
    token: AAAAAA
    external_user_name: testuser
    msg: test from ansible
    tags: tag1,tag2,tag3

Inputs

    
msg:
    description:
    - Content of the message
    required: true

link:
    description:
    - (inbox only) Link associated with the message. This will be used to link the message
      subject in Team Inbox.
    required: false

tags:
    description:
    - tags of the message, separated by commas
    required: false

type:
    choices:
    - inbox
    - chat
    description:
    - Whether to post to 'inbox' or 'chat'
    required: true

token:
    description:
    - API token.
    required: true

source:
    description:
    - (inbox only - required) Human readable identifier of the application that uses the
      Flowdock API
    required: false

project:
    description:
    - (inbox only) Human readable identifier for more detailed message categorization
    required: false

subject:
    description:
    - (inbox only - required) Subject line of the message
    required: false

reply_to:
    description:
    - (inbox only) Email address for replies
    required: false

from_name:
    description:
    - (inbox only) Name of the message sender
    required: false

from_address:
    description:
    - (inbox only - required) Email address of the message sender
    required: false

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.
    required: false
    type: bool
    version_added: 1.5.1
    version_added_collection: ansible.builtin

external_user_name:
    description:
    - (chat only - required) Name of the "user" sending the message
    required: false