263:c92c3639acf3
Anton Shestakov <av6@dwimlabs.net>, Fri, 16 Dec 2016 11:23:21 +0800
provision: skip generating a custom dhparams file to save on deployment time

next change 288:845780bce8cd
previous change 211:4b03f725cb69

contrib/provision/roles/prosody/tasks/main.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- name: Install server packages
apt:
pkg: '{{ item }}'
state: present
with_items:
- mercurial # for extra modules
- prosody
- lua-event
- lua-sec
tags: [packages]
- include: extra-modules.yml
sudo: yes
sudo_user: prosody
- name: Work around default config bug
file:
src: ../../ssl/certs/ssl-cert-snakeoil.pem
dest: /etc/prosody/certs/localhost.crt
state: link
notify:
- restart prosody
- name: Disable localhost VirtualHost
file:
path: /etc/prosody/conf.d/localhost.cfg.lua
state: absent
notify:
- restart prosody
- name: Open ports
ufw:
rule: allow
port: xmpp-client
proto: tcp
when: ansible_virtualization_type == "virtualbox"
tags: [ufw]
...