Download:
child 8:69903c87485c
parent 6:ff39be154d7d
7:f7a4a735f291
Anton Shestakov <av6@dwimlabs.net>, Sat, 19 Mar 2016 01:07:05 +0800
provision: gather the roles in a playbook

1 файлов изменено, 43 вставок(+), 0 удалений(-) [+]
contrib/provision/playbook.yml file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/playbook.yml Sat Mar 19 01:07:05 2016 +0800
@@ -0,0 +1,43 @@
+---
+- 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 }}'
+ - 'muc.{{ domain }}'
+ tags: [certs]
+ - role: nginx
+ tags: [nginx]
+ - role: prosody
+ tags: [prosody]
+ - role: turnserver
+ tags: [turnserver]
+ - role: tram-im
+ tags: [tram-im]
+...