Added Inventory and first fixes
This commit is contained in:
@@ -3,5 +3,6 @@ inventory = ./inventory/hosts.ini
|
||||
host_key_checking = False
|
||||
retry_files_enabled = False
|
||||
interpreter_python = auto_silent
|
||||
stdout_callback = yaml
|
||||
bin_ansible_callbacks = True
|
||||
stdout_callback = ansible.builtin.default
|
||||
result_format = yaml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
ansible_user: pi
|
||||
ansible_user: mastermito
|
||||
# Use ansible-vault to encrypt the password:
|
||||
# ansible-vault encrypt_string 'your_password' --name 'vault_ssh_password'
|
||||
# then put the result here.
|
||||
@@ -9,3 +9,12 @@ ansible_user: pi
|
||||
|
||||
# Kubernetes Version
|
||||
k8s_version: "1.28.0-00"
|
||||
|
||||
vault_ssh_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
36633632343864633038356262396462343166383432306136346239353334376637333735303534
|
||||
3132323064333838643735623665393031393766653938310a383531653039366462623261646162
|
||||
34336361333838373531663262623064363338353930363735323336343562623738326434343763
|
||||
3837646335653035640a656436643939303466663962323365383238303965666239333564363865
|
||||
6137
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[masters]
|
||||
pi1 ansible_host=192.168.1.10
|
||||
pi1 ansible_host=192.168.240.200
|
||||
|
||||
[workers]
|
||||
pi2 ansible_host=192.168.1.11
|
||||
pi3 ansible_host=192.168.1.12
|
||||
pi4 ansible_host=192.168.1.13
|
||||
pi2 ansible_host=192.168.240.201
|
||||
pi3 ansible_host=192.168.240.202
|
||||
pi4 ansible_host=192.168.240.203
|
||||
|
||||
[all:vars]
|
||||
# These are placeholders, update with real IPs
|
||||
|
||||
Reference in New Issue
Block a user