mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 17:48:12 -03:30
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:
@@ -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
|
||||
|
||||
4
roles/kubernetes/secrets/files/.gitignore
vendored
Normal file
4
roles/kubernetes/secrets/files/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
tokens/*.token
|
||||
tokens/known_tokens.csv
|
||||
certs/*.pem
|
||||
openssl.conf
|
||||
Reference in New Issue
Block a user