autocluster: Use Python 3
[tridge/autocluster.git] / defaults.yml
1 #
2 # Environment
3 #
4
5 # As seen by nodes
6 virthost: 10.0.0.1
7 timezone: Australia/Canberra
8
9 #
10 # Repositories
11 #
12
13 repositories_delete_existing: false
14 repository_baseurl: http://10.0.0.1/mediasets
15 repositories: []
16
17 #
18 # Cluster
19 #
20
21 vagrant_box: generic/centos7
22 vagrant_provider: libvirt
23
24 # Supported types: nas, ad, base, build, cbuild, storage, test
25 node_list: [nas, nas, nas, nas, base]
26
27 cpus: 2
28 memory: 2048
29
30 # Block devices shared between nodes, used for cluster filesystem
31 shared_disks:
32   count: 3
33   size: 10G
34
35 # Currently unused
36 #disksize: 20G
37 #rootsize: 15000
38 #swapsize: 2000
39
40 #
41 # Cluster filesystem
42 #
43 clusterfs:
44   type: gpfs
45   mountpoint: /clusterfs
46
47 # Networking
48
49 resolv_conf:
50   domain: example.com
51   search: example.com
52   # Defaults to 1st AD node if one exists
53   nameserver: 10.0.0.1
54
55 samba:
56   workgroup: EXAMPLE
57
58 networks:
59 - 10.0.0.0/24
60 - 10.0.1.0/24
61 - 10.0.2.0/24
62 # Final octet for 1st IP of cluster
63 firstip: 20
64 # Offset from firstip of public IP addresses
65 public_ip_offset: 100
66
67 #
68 # Authentication
69 #
70
71 # Default automatically switches to winbind if an AD node exists
72 auth_method: files
73 # Defaults to 1st AD node, if one exists
74 kdc: example-ad
75
76 #
77 # Active directory
78 #
79
80 ad:
81   admin_password: p@ssw0rd
82   # Defaults to virthost
83   dns_forwarder: 10.0.0.1
84
85 #
86 # Includes
87 #
88
89 # Useful for combining configurations, particularly static +
90 # generated.  Note that position in current file does not matter: any
91 # included configuration overrides configuration from the current
92 # file.  This means that include: should logically be at the end.  Can
93 # be either a single filename or a list of filenames.
94
95 # include: foo.yml
96
97 # include:
98 # - a.yml
99 # - b.yml
100
101 ...