ansible / ansible.builtin / v2.9.21 / module / ejabberd_user Manages users for ejabberd servers | "added in version" 1.5 of ansible.builtin" Authors: Peter Sprygada (@privateip) preview | supported by communityansible.builtin.ejabberd_user (v2.9.21) — module
pip
Install with pip install ansible==2.9.21
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 ejabberd_user: username: test host: server password: password
- name: delete a user if it exists ejabberd_user: username: test host: server state: absent
host: description: - the ejabberd host associated with this username required: true state: choices: - present - absent default: present description: - describe the desired state of the user to be managed required: false 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 username: description: - the name of the user to manage required: true