c12s-kubespray/inventory/inventory.example
Paul Czarkowski 8f4e879ca7 Add native Vagrant support
This allows you to simply run `vagrant up` to get a 3 node HA cluster.

* Creates a dynamic inventory and uses the inventory/group_vars/all.yml
* commented lines in inventory.example so that ansible doesn't try to use it.
* added requirements.txt to give easy way to install ansible/ipaddr
* added gitignore files to stop attempts to save unwated files
* changed `Check if kube-system exists` to `failed_when: false` instead of
`ignore_errors`
2016-05-08 10:17:11 -05:00

29 lines
742 B
Text

#[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