On this page
community.general.campfire – Send a message to Campfire
Note
This plugin is part of the community.general collection (version 3.8.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 | 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–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
 https://docs.ansible.com/ansible/latest/collections/community/general/campfire_module.html