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`
This commit is contained in:
Paul Czarkowski
2016-05-08 10:11:09 -05:00
parent 3914d51a7e
commit 8f4e879ca7
7 changed files with 165 additions and 30 deletions

View File

@@ -58,7 +58,7 @@
command: "{{ bin_dir }}/kubectl get ns kube-system"
register: 'kubesystem'
changed_when: False
ignore_errors: yes
failed_when: False
run_once: yes
- name: wait for the apiserver to be running

View File

@@ -0,0 +1,4 @@
tokens/*.token
tokens/known_tokens.csv
certs/*.pem
openssl.conf