151:0178573216e3
Anton Shestakov <av6@dwimlabs.net>, Thu, 14 Apr 2016 02:05:24 +0800
index: remove offline contacts only when they change to being offline Since new contacts are currently added while they still have the default presence of 'unavailable', add event sees them as offline and throws them away immediately, before their presence could change to something else.

next change 211:4b03f725cb69
previous change 91:e66349b7f9c6

contrib/provision/playbook.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- hosts: all
sudo: yes
vars:
domain: tram-im
pre_tasks:
- name: Purge unused packages that come preinstalled on Vagrant templates
apt: pkg={{ item }} state=absent purge=yes
with_items:
- chef
- chef-zero
- cloud-guest-utils
- cloud-init
- exim4
- exim4-base
- exim4-config
- exim4-daemon-light
- juju
- juju-core
- landscape-client
- landscape-common
- puppet
- puppet-common
- python2.6
- python2.6-minimal
when: ansible_virtualization_type == "virtualbox"
roles:
- role: common
tags: [common]
- role: certs
selfsigned: ['{{ domain }}']
tags: [certs]
- role: nginx
tags: [nginx]
- role: prosody
tags: [prosody]
- role: turnserver
tags: [turnserver]
- role: tram-im
tags: [tram-im]
post_tasks:
- name: Enable service
service: name={{ item }} state=started enabled=yes
with_items:
- nginx
- prosody
- resiprocate-turn-server
tags: [checks]
...