Anton Shestakov <av6@dwimlabs.net>, Sat, 19 Mar 2016 01:07:05 +0800
provision: gather the roles in a playbook
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"