summaryrefslogtreecommitdiffstats
path: root/ansible/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/inventory')
-rw-r--r--ansible/inventory/hosts.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml
index f11ef7b1..a29072c5 100644
--- a/ansible/inventory/hosts.yml
+++ b/ansible/inventory/hosts.yml
@@ -20,12 +20,16 @@ all:
hosts:
infrastructure-server:
ansible_host: 10.8.8.13
+ #IP used for communication between infra and kubernetes nodes, must be specified.
+ cluster_ip: 10.8.8.13
# This is group of hosts which are/will be part of Kubernetes cluster.
kubernetes:
hosts:
kubernetes-node-1:
ansible_host: 10.8.8.19
+ #ip of the node that it uses for communication with k8s cluster.
+ cluster_ip: 10.8.8.19
nfs-server:
hosts: