Add Inventory

This commit is contained in:
2024-11-06 15:54:03 -05:00
parent 0f51f44ed6
commit 73a6d9f007
2 changed files with 38 additions and 0 deletions

11
playbooks/inventory.ini Normal file
View File

@@ -0,0 +1,11 @@
[master]
home-k8s1 ansible_host=192.168.0.201 ansible_user=pi ansible_ssh_private_key_file=~/.ssh/id_rsa
[workers]
home-k8s2 ansible_host=192.168.0.202 ansible_user=pi ansible_ssh_private_key_file=~/.ssh/id_rsa
home-k8s3 ansible_host=192.168.0.203 ansible_user=pi ansible_ssh_private_key_file=~/.ssh/id_rsa
home-k8s4 ansible_host=192.168.0.204 ansible_user=pi ansible_ssh_private_key_file=~/.ssh/id_rsa
home-k8s0 ansible_host=192.168.0.205 ansible_user=pi ansible_ssh_private_key_file=~/.ssh/id_rsa
[all:vars]
ansible_python_interpreter=/usr/bin/python3