Anton Shestakov <av6@dwimlabs.net>, Fri, 08 Apr 2016 22:13:02 +0800
register: progress bar on top
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"