ansible/roles/prosody/tasks/main.yml

23 lines
572 B
YAML
Raw Normal View History

2016-02-11 16:15:38 +01:00
---
- name: Install prosody
apt: name=prosody state=present
tags: prosody
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
tags: prosody
- name: Install prosody-modules
apt: name=prosody-modules default_release=jessie-backports state=present
tags: prosody
- name: Configure prosody
template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua
notify: restart prosody
tags: prosody
- name: Start prosody
service: name=prosody state=started enabled=yes
tags: prosody