On this page
community.general.campfire – Send a message to Campfire
Note
This plugin is part of the community.general collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.campfire
.
Synopsis
- Send a message to Campfire.
- Messages with newlines will result in a “Paste” message being sent.
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
msg
string / required
|
The message body.
|
|
notify
string
|
|
Send a notification sound before the message.
|
room
string / required
|
Room number to which the message should be sent.
|
|
subscription
string / required
|
The subscription name to use.
|
|
token
string / required
|
API token.
|
Examples
- name: Send a message to Campfire
community.general.campfire:
subscription: foo
token: 12345
room: 123
msg: Task completed.
- name: Send a message to Campfire
community.general.campfire:
subscription: foo
token: 12345
room: 123
notify: loggins
msg: Task completed ... with feeling.
Authors
- Adam Garside (@fabulops)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/campfire_module.html