Anton Shestakov <av6@dwimlabs.net>, Sun, 20 Mar 2016 11:52:25 +0800
register: use more coffee sugar
contrib/provision/roles/prosody/tasks/main.yml
Permissions: -rw-r--r--
- name: Install server packages apt: pkg={{ item }} state=present - mercurial # for extra modules - include: extra-modules.yml - name: Generate a Diffie-Hellman key exchange parameters file {% if ansible_virtualization_type == "virtualbox" %}-dsaparam{% endif %} -out /etc/prosody/dh-2048.pem creates: /etc/prosody/dh-2048.pem - name: Work around default config bug file: src=../../ssl/certs/ssl-cert-snakeoil.pem dest=/etc/prosody/certs/localhost.crt state=link - name: Disable localhost VirtualHost file: path=/etc/prosody/conf.d/localhost.cfg.lua state=absent ufw: rule=allow port=xmpp-client proto=tcp when: ansible_virtualization_type == "virtualbox"