Move kube_version var to defaults
Move the variable kube_version to defaults to have the possibility to overwrite it via group_vars inventory if needed.
This commit is contained in:
parent
9146b8917d
commit
f9a18460d3
6 changed files with 2 additions and 8 deletions
|
@ -5,7 +5,7 @@ local_release_dir: /tmp
|
|||
download_run_once: False
|
||||
|
||||
# Versions
|
||||
include_vars: kube_versions.yml
|
||||
kube_version: v1.3.0
|
||||
|
||||
etcd_version: v3.0.6
|
||||
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
- include_vars: kube_versions.yml
|
||||
|
||||
- name: downloading...
|
||||
debug:
|
||||
msg: "{{ download.url }}"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
kube_version: v1.3.0
|
|
@ -2,7 +2,7 @@
|
|||
local_release_dir: /tmp
|
||||
|
||||
# Versions
|
||||
include_vars: kube_versions.yml
|
||||
kube_version: v1.3.0
|
||||
|
||||
etcd_version: v3.0.6
|
||||
calico_version: v0.20.0
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
- include_vars: "kube_versions.yml"
|
||||
|
||||
- name: Create dest directories
|
||||
file: path={{local_release_dir}}/{{item.dest|dirname}} state=directory recurse=yes
|
||||
with_items: '{{downloads}}'
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
kube_version: v1.3.0
|
Loading…
Reference in a new issue