community.general.campfire (8.5.0) — module

Send a message to Campfire

Authors: Adam Garside (@fabulops)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Send a message to Campfire.

Messages with newlines will result in a "Paste" message being sent.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Send a message to Campfire
  community.general.campfire:
    subscription: foo
    token: 12345
    room: 123
    msg: Task completed.
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Send a message to Campfire
  community.general.campfire:
    subscription: foo
    token: 12345
    room: 123
    notify: loggins
    msg: Task completed ... with feeling.

Inputs

    
msg:
    description:
    - The message body.
    required: true
    type: str

room:
    description:
    - Room number to which the message should be sent.
    required: true
    type: str

token:
    description:
    - API token.
    required: true
    type: str

notify:
    choices:
    - 56k
    - bell
    - bezos
    - bueller
    - clowntown
    - cottoneyejoe
    - crickets
    - dadgummit
    - dangerzone
    - danielsan
    - deeper
    - drama
    - greatjob
    - greyjoy
    - guarantee
    - heygirl
    - horn
    - horror
    - inconceivable
    - live
    - loggins
    - makeitso
    - noooo
    - nyan
    - ohmy
    - ohyeah
    - pushit
    - rimshot
    - rollout
    - rumble
    - sax
    - secret
    - sexyback
    - story
    - tada
    - tmyk
    - trololo
    - trombone
    - unix
    - vuvuzela
    - what
    - whoomp
    - yeah
    - yodel
    description:
    - Send a notification sound before the message.
    required: false
    type: str

subscription:
    description:
    - The subscription name to use.
    required: true
    type: str