add ansible for complete cluster setup with multipass

This commit is contained in:
Bartal Læarsson
2025-02-24 22:45:11 +00:00
parent 4670946ef6
commit e0609e7d3a
14 changed files with 887 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
---
all:
children:
k8s_cluster:
children:
control_plane:
hosts:
controlplane:
ansible_host: 10.203.146.164
workers:
hosts:
node01:
ansible_host: 10.203.146.126
node02:
ansible_host: 10.203.146.2
vars:
ansible_user: ubuntu
ansible_become: yes
ansible_ssh_private_key_file: ~/.ssh/id_rsa