community / community.general / 3.8.10 / module / ejabberd_user Manages users for ejabberd servers Authors: Peter Sprygada (@privateip)community.general.ejabberd_user (3.8.10) — module
Install with ansible-galaxy collection install community.general:==3.8.10
collections: - name: community.general version: 3.8.10
This module provides user management for ejabberd servers
# Example playbook entries using the ejabberd_user module to manage users state. - name: Create a user if it does not exist community.general.ejabberd_user: username: test host: server password: password
- name: Delete a user if it exists community.general.ejabberd_user: username: test host: server state: absent
host: description: - the ejabberd host associated with this username required: true type: str state: choices: - present - absent default: present description: - describe the desired state of the user to be managed required: false type: str logging: default: false description: - enables or disables the local syslog facility for this module required: false type: bool password: description: - the password to assign to the username required: false type: str username: description: - the name of the user to manage required: true type: str