summaryrefslogtreecommitdiffstats
path: root/test/schemas/test/inventory/production.yml
blob: 6350bdaa8cfff90261c059eb721b4eb049318f16 (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
all:
  hosts:
    mail.example.com:
  children:
    webservers:
      hosts:
        foo.example.com:
        bar.example.com:
        # ranges are supported:
        www[01:50].example.com:
        www[01:50:2].example.com:
          # these are variables:
          var_1: value_1
          another_var: 200
    dbservers:
      hosts:
        one.example.com:
        two.example.com:
        three.example.com:
    east:
      hosts:
        foo.example.com:
        one.example.com:
        two.example.com:
    west:
      hosts:
        bar.example.com:
        three.example.com:
    prod:
      children:
        east:
    test:
      children:
        west:
  # add variables for all hosts
  vars:
    my_var: 123