40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
###########################################
|
|
# Masasana Cloud PLatform Inventory
|
|
###########################################
|
|
all:
|
|
children:
|
|
kubernetes:
|
|
children:
|
|
controller:
|
|
children:
|
|
controller_init:
|
|
hosts:
|
|
k8s-master-1:
|
|
ansible_host: 10.0.0.3
|
|
ansible_python_interpreter: /usr/bin/python3.11
|
|
ansible_ssh_common_args: '-o ProxyCommand="ssh -p 22 -W %h:%p -q root@65.109.4.220"'
|
|
|
|
worker:
|
|
hosts:
|
|
k8s-node-1:
|
|
ansible_host: 10.0.0.2
|
|
ansible_python_interpreter: /usr/bin/python3.11
|
|
ansible_ssh_common_args: '-o ProxyCommand="ssh -p 22 -W %h:%p -q root@65.109.4.220"'
|
|
|
|
nat:
|
|
hosts:
|
|
nat-gateway:
|
|
ansible_host: 65.109.4.220
|
|
ansible_python_interpreter: /usr/bin/python3.11
|
|
|
|
kubernetes_api:
|
|
hosts:
|
|
k8s-api:
|
|
ansible_host: 65.109.222.158
|
|
ansible_python_interpreter: /usr/bin/python3.11
|
|
|
|
local:
|
|
hosts:
|
|
localhost:
|
|
ansible_host: 127.0.0.1
|
|
ansible_connection: local |