{"id":30111284,"url":"https://github.com/robertdebock/ansible-role-prosody","last_synced_at":"2026-04-20T03:32:25.601Z","repository":{"id":308673018,"uuid":"1033631939","full_name":"robertdebock/ansible-role-prosody","owner":"robertdebock","description":"Install and configure prosody on your system.","archived":false,"fork":false,"pushed_at":"2026-03-18T07:48:12.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-02T08:30:11.085Z","etag":null,"topics":["ansible","application","infrastructure","linux","molecule","playbook","prosody","system","tools"],"latest_commit_sha":null,"homepage":"https://robertdebock.nl/","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertdebock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"robertdebock"}},"created_at":"2025-08-07T05:48:17.000Z","updated_at":"2026-03-18T07:48:16.000Z","dependencies_parsed_at":"2025-08-07T08:42:28.865Z","dependency_job_id":"366edc24-cb8b-45c0-ac87-58225bc10929","html_url":"https://github.com/robertdebock/ansible-role-prosody","commit_stats":null,"previous_names":["robertdebock/ansible-role-prosody"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/robertdebock/ansible-role-prosody","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-role-prosody","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-role-prosody/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-role-prosody/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-role-prosody/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertdebock","download_url":"https://codeload.github.com/robertdebock/ansible-role-prosody/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fansible-role-prosody/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","application","infrastructure","linux","molecule","playbook","prosody","system","tools"],"created_at":"2025-08-10T06:00:42.565Z","updated_at":"2026-04-20T03:32:25.594Z","avatar_url":"https://github.com/robertdebock.png","language":"Jinja","funding_links":["https://github.com/sponsors/robertdebock"],"categories":[],"sub_categories":[],"readme":"# [Ansible role prosody](#ansible-role-prosody)\n\nInstall and configure prosody on your system.\n\n|GitHub|GitLab|Downloads|Version|\n|------|------|---------|-------|\n|[![github](https://github.com/robertdebock/ansible-role-prosody/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-prosody/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-prosody/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-prosody)|[![downloads](https://img.shields.io/ansible/role/d/robertdebock/prosody)](https://galaxy.ansible.com/robertdebock/prosody)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-prosody.svg)](https://github.com/robertdebock/ansible-role-prosody/releases/)|\n\n## [Example Playbook](#example-playbook)\n\nThis example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-prosody/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.\n\n```yaml\n---\n- name: Converge\n  hosts: all\n  become: true\n  gather_facts: true\n\n  roles:\n    - role: robertdebock.prosody\n```\n\nThe machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-prosody/blob/master/molecule/default/prepare.yml):\n\n```yaml\n---\n- name: Prepare\n  hosts: all\n  become: true\n  gather_facts: false\n\n  roles:\n    - role: robertdebock.bootstrap\n```\n\nAlso see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.\n\n## [Role Variables](#role-variables)\n\nThe default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-prosody/blob/master/defaults/main.yml):\n\n```yaml\n---\n# defaults file for prosody\n\n# The domain to use for this XMPP server\nprosody_domain: \"{{ ansible_facts['fqdn'] }}\"\n\n# External addresses for this server (optional)\n# List of IP addresses that this server is reachable on from the internet\n# Example: [\"192.0.2.34\", \"2001:db8::abcd:1234\"]\nprosody_external_addresses: []\n\n# The port to use for XMPP client connections\nprosody_port: 5222\n\n# The port to use for XMPP server-to-server connections\nprosody_s2s_port: 5269\n\n# The port to use for HTTP/HTTPS (for admin interface, BOSH, etc.)\nprosody_http_port: 5280\n\n# Enable HTTPS for the HTTP interface\nprosody_https_enable: false\n\n# The port to use for HTTPS\nprosody_https_port: 5281\n\n# SSL Certificate for HTTPS\nprosody_ssl_cert: \"{{ prosody_ssl_cert_directory }}/prosody.crt\"\n\n# SSL Key for HTTPS\nprosody_ssl_key: \"{{ prosody_ssl_key_directory }}/prosody.key\"\n\n# SSL Certificate and key directories (platform-specific paths are defined in vars/main.yml)\n\n# SSL Certificate generation settings\nprosody_ssl_common_name: \"{{ prosody_domain }}\"\nprosody_ssl_organization: \"Robert de Bock\"\nprosody_ssl_country: \"NL\"\nprosody_ssl_state: \"UTRECHT\"\nprosody_ssl_locality: \"Breukelen\"\nprosody_ssl_email: \"admin@{{ prosody_domain }}\"\nprosody_ssl_days: 365\n\n# Enable server-to-server connections\nprosody_s2s_enable: true\n\n# Enable component connections\nprosody_components_enable: false\n\n# Enable admin interface\nprosody_admin_enable: true\n\n# Enable BOSH (Bidirectional-streams Over Synchronous HTTP)\nprosody_bosh_enable: false\n\n# Enable WebSocket support\nprosody_websocket_enable: false\n\n# Enable MUC (Multi-User Chat)\nprosody_muc_enable: true\n\n# Enable PubSub (Publish-Subscribe)\nprosody_pubsub_enable: true\n\n# Enable PEP (Personal Eventing Protocol)\nprosody_pep_enable: true\n\n# Enable offline message storage\nprosody_offline_enable: true\n\n# Enable user registration\nprosody_registration_enable: false\n\n# Enable anonymous authentication\nprosody_anonymous_enable: false\n\n# Enable SASL authentication\nprosody_sasl_enable: true\n\n# Enable TLS/SSL for client connections\nprosody_tls_enable: true\n\n# Enable TLS/SSL for server-to-server connections\nprosody_s2s_tls_enable: true\n\n# Enable compression\nprosody_compression_enable: false\n\n# Enable logging\nprosody_logging_enable: true\n\n# Log level (debug, info, warn, error)\nprosody_log_level: info\n\n# Enable daemon mode\nprosody_daemon_enable: true\n\n# POSIX module (for prosodyctl process management)\n# See: https://prosody.im/doc/prosodyctl#pidfile\nprosody_posix_enable: true\n\n# User to run prosody as\nprosody_user: prosody\n\n# Group to run prosody as\nprosody_group: prosody\n\n# Prosody packages to install (platform-specific packages are defined in vars/main.yml)\n\n# Data directory for prosody\nprosody_data_directory: /var/lib/prosody\n\n# Log directory for prosody\nprosody_log_directory: /var/log/prosody\n\n# Configuration directory for prosody\nprosody_config_directory: /etc/prosody\n\n# Additional modules to enable\nprosody_additional_modules: []\n\n# Custom configuration options (key-value pairs)\nprosody_custom_config: {}\n\n# Virtual hosts configuration\nprosody_vhosts: []\n\n# Component configurations\nprosody_components: []\n\n# MUC room configurations\nprosody_muc_rooms: []\n```\n\n## [Requirements](#requirements)\n\n- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-prosody/blob/master/requirements.txt).\n\n## [State of used roles](#state-of-used-roles)\n\nThe following roles are used to prepare a system. You can prepare your system in another way.\n\n| Requirement | GitHub | GitLab |\n|-------------|--------|--------|\n|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|\n\n## [Context](#context)\n\nThis role is part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.\n\nHere is an overview of related roles:\n![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-prosody/png/requirements.png \"Dependencies\")\n\n## [Compatibility](#compatibility)\n\nThis role has been tested on these [container images](https://hub.docker.com/u/robertdebock):\n\n|container|tags|\n|---------|----|\n|[Alpine](https://hub.docker.com/r/robertdebock/alpine)|all|\n|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|\n|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|\n|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|\n\nThe minimum version of Ansible required is 2.12, tests have been done on:\n\n- The previous version.\n- The current version.\n- The development version.\n\nIf you find issues, please register them on [GitHub](https://github.com/robertdebock/ansible-role-prosody/issues).\n\n## [License](#license)\n\n[Apache-2.0](https://github.com/robertdebock/ansible-role-prosody/blob/master/LICENSE).\n\n## [Author Information](#author-information)\n\n[robertdebock](https://robertdebock.nl/)\n\nPlease consider [sponsoring me](https://github.com/sponsors/robertdebock).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fansible-role-prosody","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertdebock%2Fansible-role-prosody","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fansible-role-prosody/lists"}