-
Notifications
You must be signed in to change notification settings - Fork 13
/
site.yml
79 lines (64 loc) · 1.05 KB
/
site.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
#
# First setup a package_cache, especially when using
# your laptop and Vagrant
#
- hosts: package_cache
roles:
- package_cache
- hosts:
- all
roles:
- common
- hosts:
- lbssl
roles:
- lbssl
- hosts:
- proxy
- storage
- package_cache
roles:
- swift_common
- hosts:
- swiftclient
roles:
- swiftclient
- hosts:
- authentication
roles:
- authentication
- hosts:
- proxy
roles:
- proxy
#
# I would have expected serial to work here, and
# to be the right way to do it but at the time I
# tried received "too many files open" errors.
#
- hosts:
- storage
serial: 1
roles:
- storage
#
# These are not so much roles as starting services
# though also includes distributing the ring files.
#
- hosts:
- proxy
# vars_file:
# - include: vars/{{ansible_os_family}}.yml
tasks:
- include: start_proxy.yml
- hosts:
- storage
# vars_file:
# - include: vars/{{ansible_os_family}}.yml
tasks:
- include: start_storage.yml
#
# Probably best to run these on their own?
#
#- include: tests/tests.yml