304:637853c693a1
Anton Shestakov <av6@dwimlabs.net>, Thu, 28 Jun 2018 22:36:32 +0800
provision: update vagrant image to Xenial

previous change 290:d678e6c0c45a

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]
...