Restructure inventory

This commit is contained in:
Emil Dabrowski 2023-01-10 21:59:41 +01:00
parent 739da8ac90
commit cfcd2ca654
1 changed files with 12 additions and 15 deletions

View File

@ -1,26 +1,23 @@
all:
children:
gerar:
hosts:
matthew.gerar.jilits.se:
mark.gerar.jilits.se:
luke.gerar.jilits.se:
children:
control_planes:
hosts:
matthew.gerar.jilits.se:
vars:
is_control_plane: true
nodes:
hosts:
mark.gerar.jilits.se:
luke.gerar.jilits.se:
vars:
is_control_plane: false
vars:
ansible_user: servant
cluster_name: "gerar"
k8s_version: 1.26
pod_network_cidr: "10.254.0.0/16"
service_cidr: "10.255.0.0/16"
control_planes:
hosts:
matthew.gerar.jilits.se:
vars:
is_control_plane: true
nodes:
hosts:
mark.gerar.jilits.se:
luke.gerar.jilits.se:
vars:
is_control_plane: false
vars:
kubeadmin_config: /etc/kubernetes/admin.conf