Browse Source

Move kube_version to group_vars/all to allow easier changing of version

Also allows to perform version dependent logic in Ansible roles.
pull/736/head
Alexander Block 8 years ago
parent
commit
665ce82d71
3 changed files with 3 additions and 4 deletions
  1. 3
      inventory/group_vars/all.yml
  2. 2
      roles/download/defaults/main.yml
  3. 2
      roles/uploads/defaults/main.yml

3
inventory/group_vars/all.yml

@ -4,6 +4,9 @@ bootstrap_os: none
# Directory where the binaries will be installed
bin_dir: /usr/local/bin
## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: 1.4.6
# Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G)
local_release_dir: "/tmp/releases"

2
roles/download/defaults/main.yml

@ -15,8 +15,6 @@ download_compress: 9
download_localhost: False
# Versions
kube_version: v1.4.6
etcd_version: v3.0.6
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
# after migration to container download

2
roles/uploads/defaults/main.yml

@ -2,8 +2,6 @@
local_release_dir: /tmp
# Versions
kube_version: v1.4.6
etcd_version: v3.0.6
calico_version: v0.23.0
calico_cni_version: v1.4.2

Loading…
Cancel
Save