summaryrefslogtreecommitdiffstats
path: root/defaults.yml
blob: 7b061df75eefd460e885f1b21d1e2cb423e03eea (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#
# Environment
#

# As seen by nodes
virthost: 10.0.0.1
timezone: Australia/Canberra

#
# Repositories
#

repositories_delete_existing: false
repository_baseurl: http://10.0.0.1/mediasets
repositories: []

#
# Cluster
#

vagrant_box: generic/centos7
vagrant_provider: libvirt

# Supported types: nas, ad, base, build, cbuild, storage, test
node_list: [nas, nas, nas, nas, base]

cpus: 2
# mem is currently ignored due to a libvirt provider bug
mem: 1024

# Block devices shared between nodes, used for cluster filesystem
shared_disks:
  count: 3
  size: 10G

# Currently unused
#disksize: 20G
#rootsize: 15000
#swapsize: 2000

#
# Cluster filesystem
#
clusterfs:
  type: gpfs
  mountpoint: /clusterfs

# Networking

resolv_conf:
  domain: example.com
  search: example.com
  # Defaults to 1st AD node if one exists
  nameserver: 10.0.0.1

samba:
  workgroup: EXAMPLE

networks:
- 10.0.0.0/24
- 10.0.1.0/24
- 10.0.2.0/24
# Final octet for 1st IP of cluster
firstip: 20
# Offset from firstip of public IP addresses
public_ip_offset: 100

#
# Authentication
#

# Default automatically switches to winbind if an AD node exists
auth_method: files
# Defaults to 1st AD node, if one exists
kdc: example-ad

#
# Active directory
#

ad:
  admin_password: p@ssw0rd
  # Defaults to virthost
  dns_forwarder: 10.0.0.1

#
# Includes
#

# Useful for combining configurations, particularly static +
# generated.  Note that position in current file does not matter: any
# included configuration overrides configuration from the current
# file.  This means that include: should logically be at the end.  Can
# be either a single filename or a list of filenames.

# include: foo.yml

# include:
# - a.yml
# - b.yml

...