blob: 06fe97eec21236f17663dceb3343036d9a273898 (
plain) (
tree)
|
|
# 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:
|