From 3017658f8864c66779b946886c644ff67af8809c Mon Sep 17 00:00:00 2001 From: ant31 <2t.antoine@gmail.com> Date: Mon, 7 Nov 2016 12:03:55 +0100 Subject: [PATCH] update example --- inventory/group_vars/all.yml | 2 +- inventory/inventory.example | 57 ++++++++++++++++++------------------ 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index add9fdd2a..05a7293a7 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -1,4 +1,4 @@ -# Valid bootstrap options (required): xenial, coreos, none +# Valid bootstrap options (required): ubuntu, coreos, none bootstrap_os: none # Directory where the binaries will be installed diff --git a/inventory/inventory.example b/inventory/inventory.example index 7c1c9a5f3..ab085ad4a 100644 --- a/inventory/inventory.example +++ b/inventory/inventory.example @@ -1,29 +1,28 @@ -#[kube-master] -#node1 ansible_ssh_host=10.99.0.26 -#node2 ansible_ssh_host=10.99.0.27 -# -#[etcd] -#node1 ansible_ssh_host=10.99.0.26 -#node2 ansible_ssh_host=10.99.0.27 -#node3 ansible_ssh_host=10.99.0.4 -# -#[kube-node] -#node2 ansible_ssh_host=10.99.0.27 -#node3 ansible_ssh_host=10.99.0.4 -#node4 ansible_ssh_host=10.99.0.5 -#node5 ansible_ssh_host=10.99.0.36 -#node6 ansible_ssh_host=10.99.0.37 -# -#[paris] -#node1 ansible_ssh_host=10.99.0.26 -#node3 ansible_ssh_host=10.99.0.4 local_as=xxxxxxxx -#node4 ansible_ssh_host=10.99.0.5 local_as=xxxxxxxx -# -#[new-york] -#node2 ansible_ssh_host=10.99.0.27 -#node5 ansible_ssh_host=10.99.0.36 local_as=xxxxxxxx -#node6 ansible_ssh_host=10.99.0.37 local_as=xxxxxxxx -# -#[k8s-cluster:children] -#kube-node -#kube-master +# ## Configure 'ip' variable to bind kubernetes services on a +# ## different ip than the default iface +# node1 ansible_ssh_host=95.54.0.12 # ip=10.3.0.1 +# node2 ansible_ssh_host=95.54.0.13 # ip=10.3.0.2 +# node3 ansible_ssh_host=95.54.0.14 # ip=10.3.0.3 +# node4 ansible_ssh_host=95.54.0.15 # ip=10.3.0.4 +# node5 ansible_ssh_host=95.54.0.16 # ip=10.3.0.5 +# node6 ansible_ssh_host=95.54.0.17 # ip=10.3.0.6 + +# [kube-master] +# node1 +# node2 + +# [etcd] +# node1 +# node2 +# node3 + +# [kube-node] +# node2 +# node3 +# node4 +# node5 +# node6 + +# [k8s-cluster:children] +# kube-node +# kube-master