| Author: | Jan-Piet Mens, Matt Martz |
|---|
New in version 1.2.
Send a message to an IRC channel. This is a very simplistic implementation.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| channel | yes | Channel name | ||
| color | no | none |
|
Text color for the message. ("none" is a valid option in 1.6 or later, in 1.6 and prior, the default color is black, not "none"). |
| key | no | Channel key (added in Ansible 1.7) | ||
| msg | yes | The message body. | ||
| nick | no | ansible | Nickname. May be shortened, depending on server's NICKLEN setting. | |
| passwd | no | Server password | ||
| port | no | 6667 | IRC server port number | |
| server | no | localhost | IRC server name/address | |
| timeout | no | 30 | Timeout to use while waiting for successful registration and join messages, this is to prevent an endless loop (added in Ansible 1.5) |
Note
Requires socket