290:d678e6c0c45a
Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Sep 2017 22:56:54 +0800
provision: it's probably safe to forget about Python 2.6 in 2017

next change 304:637853c693a1
previous change 288:845780bce8cd

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