293:6635f14613ba
Anton Shestakov <av6@dwimlabs.net>, Wed, 01 Nov 2017 00:50:57 +0800
Makefile: use file targets more, results in incremental building Less work to do when only some files get changed, but more work when building from scratch. But, multiple compilers can run in parallel.

next change 305:afe29fdf065f
previous change 288:845780bce8cd

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
become: yes
become_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]
...