forked from buildbot/buildbot-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
53 lines (44 loc) · 1.33 KB
/
local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is a playbook to be run with ansible-pull (the usage will be described
# when a particular cron task is installed).
# To deploy a particular service manually:
# * log into the target host
# * run 'ansible-playbook -i localhost local.yml -K'
---
- include: "load-secrets.yml"
- name: determine local host name
hosts: all
gather_facts: yes
connection: local
tasks:
# Use this to create "special" groups that will be used to setup a particular host.
# We use non-fqdn here so a staging/test setup could work as well.
- group_by:
key: "{{ansible_hostname}}"
changed_when: False
- include: "track-config.yml"
vars:
commit_message: "pre-ansible checkin"
# Service hosts and their jails
- include: "host-service1.yml"
- include: "jail-ns1.yml"
- include: "jail-mx.yml"
- include: "jail-syslog.yml"
- include: "host-service2.yml"
- include: "jail-bot.yml"
- include: "jail-docs.yml"
- include: "jail-ftp.yml"
- include: "jail-lists.yml"
- include: "jail-nine.yml"
- include: "jail-trac.yml"
- include: "jail-www.yml"
- include: "jail-supybot.yml"
- include: "host-service3.yml"
- include: "jail-bslave1.yml"
- include: "jail-buildbot.yml"
- include: "jail-mysql.yml"
- include: "host-vm1.yml"
- include: "vm-build1.yml"
- include: "track-config.yml"
vars:
commit_message: "post-ansible checkin"
# vim:ts=2:sw=2:noai:nosi