Ansible role that deploys, maintains, and updates Prosody - XMPP Server written in Lua.
Find a file
meaz 6e764cd388 add option for siskin support (#14)
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #14
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
2022-01-06 21:04:30 +00:00
defaults add option for siskin support (#14) 2022-01-06 21:04:30 +00:00
handlers Migration commit; fresh start 2021-03-14 11:00:16 +01:00
Playbooks Migration commit; fresh start 2021-03-14 11:00:16 +01:00
tasks install lua-dbi according to the right DB used. (#16) 2022-01-06 21:04:05 +00:00
templates/etc install lua-dbi according to the right DB used. (#16) 2022-01-06 21:04:05 +00:00
.gitignore Migration commit; fresh start 2021-03-14 11:00:16 +01:00
CHANGELOG.md add mod muc_ban_ip (#3) 2021-05-08 06:30:43 +00:00
DNS_configuration.md Migration commit; fresh start 2021-03-14 11:00:16 +01:00
LICENSE Migration commit; fresh start 2021-03-14 11:00:16 +01:00
README.MD Migration commit; fresh start 2021-03-14 11:00:16 +01:00
Vagrantfile Migration commit; fresh start 2021-03-14 11:00:16 +01:00

Prosody - Ansible Role

This role deploys prosody XMPP server with all needed dependencies and prosody community modules.

You can deploy a test instance using Vagrantfile attached to the role. This role is released under MIT Licence. We do not give no warranty for this software.

Run in production

To run this role in production, do not forget to set your DNS as explained here and to change all vars from files in default/ to what you need.

The role's defaults should be already dpeloying fully funcitonal and modern XMPP Server. It allows to add/remove any additional module (whether core or community).

Run test in Vagrant

To have it work using vagrant:

  • cd prosody where prosodyis the name of this repo.
  • vagrant up to build up the Virtual Environment.
  • and ansible-playbook -b Playbooks/prosody.yml to deploy Prosody on the Virtual Environment.

Setup turnserver for viop

If you want to use viop, you need to set turncredentials to true in default/mod.yml. This feature depends on a third party service that needs to be installed seperatelly: coturn. To see how to set it, check Prosody's documentation

Add LDAP authentication and vhosts

To add LDAP authentication, edit defaults/vhost.yml, change auth_method from internal_hashed to ldap and change the LDAP vars in prosody_ldap_config.

This role supports multiple vhosts.