community.general.jabber – Send a message to jabber user or chat room¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.jabber
.
Requirements¶
The below requirements are needed on the host that executes this module.
python xmpp (xmpppy)
Parameters¶
Examples¶
- name: Send a message to a user
community.general.jabber:
user: [email protected]
password: secret
to: [email protected]
msg: Ansible task finished
- name: Send a message to a room
community.general.jabber:
user: [email protected]
password: secret
to: [email protected]/ansiblebot
msg: Ansible task finished
- name: Send a message, specifying the host and port
community.general.jabber:
user: [email protected]
host: talk.example.net
port: 5223
password: secret
to: [email protected]
msg: Ansible task finished
Authors¶
Brian Coca (@bcoca)