Anton Shestakov <av6@dwimlabs.net>, Wed, 01 Jun 2016 21:26:22 +0800
index: expand, but also deduplicate existence checks for previous and contact
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"