322:7dfdf32e8577
Anton Shestakov <av6@dwimlabs.net>, Sat, 14 Jul 2018 20:23:13 +0800
index: authorizing contact also adds it to the roster Maybe there are cases when this doesn't make sense, but so far this looks like the right thing to do.

previous change 304:637853c693a1

contrib/provision/playbook.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- hosts: all
become: 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:
- cloud-guest-utils
- cloud-init
- cloud-initramfs-copymods
- cloud-initramfs-dyn-netconf
- fonts-ubuntu-font-family-console
- friendly-recovery
- lvm2
- lxc-common
- lxcfs
- lxd
- mdadm
- open-iscsi
- plymouth
- plymouth-theme-ubuntu-text
- popularity-contest
- snapd
- ureadahead
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]
...