diff --git a/playbooks/kubernetes/inventory.yaml b/playbooks/kubernetes/inventory.yaml index d622942..f2449ba 100644 --- a/playbooks/kubernetes/inventory.yaml +++ b/playbooks/kubernetes/inventory.yaml @@ -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