community.general.campfire module – Send a message to Campfire
Note
This module is part of the community.general collection (version 10.0.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
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 |
Comments |
---|---|
The message body. |
|
Send a notification sound before the message. Choices:
|
|
Room number to which the message should be sent. |
|
The subscription name to use. |
|
API token. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
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.