aboutsummaryrefslogtreecommitdiffstats
path: root/inventory.yml
blob: 06fe97eec21236f17663dceb3343036d9a273898 (plain) (blame)
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

# inventory.yml

--- 

all:

  vars:

    _i:
      dcontroller: "dcontroller"
      domain_name: "rgoncalves.se"
      dns:
        - 8.8.8.8
        - 8.8.4.4

    ansible_port: "22"
    ansible_python_interpreter: "/usr/bin/python3"


  # ---
  # Declaration of all hosts
  # ---
  hosts:

    dcontroller:
    stack0:
    emb0:

    # CLIENTS
    graphite:
      ansible_host: "graphite"
      ip: { in: "10.10.0.80", out: "192.168.5.80" }
    bentonite:
      ansible_host: "bentonite"
      ip: { in: "10.10.0.81", out: "192.168.5.81" }
    guest0:
      ansible_host: "guest0"
      ip: { in: "10.10.0.100", out: "192.168.5.100" }
    guest1:
      ansible_host: "guest1"
      ip: { in: "10.10.0.101", out: "192.168.5.101" }


  # ---
  # Declaration of groups
  # ---
  children:

    # GROUP server
    servers:
      hosts:
        dcontroller:
        stack0:
        emb0:

    # GROUP openbsd
    openbsd:
      vars:
        ansible_become_method: "doas"
        ansible_python_interpreter: "/usr/local/bin/python3"
        group_root: "wheel"
        path_zsh: "/usr/local/bin/zsh"
        path_zshrc: "/etc/zshrc"

      hosts:
        dcontroller:
        stack0:

    # GROUP debian
    debian:
      vars:
        group_root: "root"
        path_zsh: "/bin/zsh"
        path_zshrc: "/etc/zsh/zshrc"

      hosts:
        emb0:

    # GROUP alpine
    alpine:
      vars:
        group_root: "root"
        path_zsh: "/bin/zsh"
        path_zshrc: "/etc/zsh/zshrc"
      hosts:
        vm0:
        vm1:
remember that computers suck.