Skip to content

Commit

Permalink
Move kube_version to group_vars/all to allow easier changing of version
Browse files Browse the repository at this point in the history
Also allows to perform version dependent logic in Ansible roles.
  • Loading branch information
codablock committed Dec 13, 2016
1 parent 444b1da commit 665ce82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions inventory/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions roles/download/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions roles/uploads/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 665ce82

Please sign in to comment.