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
948d1d61ff
commit
34a27b0127
6 changed files with 2 additions and 8 deletions
|
@ -5,7 +5,7 @@ local_release_dir: /tmp
|
||||||
download_run_once: False
|
download_run_once: False
|
||||||
|
|
||||||
# Versions
|
# Versions
|
||||||
include_vars: kube_versions.yml
|
kube_version: v1.3.0
|
||||||
|
|
||||||
etcd_version: v3.0.6
|
etcd_version: v3.0.6
|
||||||
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
|
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
- include_vars: kube_versions.yml
|
|
||||||
|
|
||||||
- name: downloading...
|
- name: downloading...
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ download.url }}"
|
msg: "{{ download.url }}"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
kube_version: v1.3.0
|
|
|
@ -2,7 +2,7 @@
|
||||||
local_release_dir: /tmp
|
local_release_dir: /tmp
|
||||||
|
|
||||||
# Versions
|
# Versions
|
||||||
include_vars: kube_versions.yml
|
kube_version: v1.3.0
|
||||||
|
|
||||||
etcd_version: v3.0.6
|
etcd_version: v3.0.6
|
||||||
calico_version: v0.20.0
|
calico_version: v0.20.0
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
- include_vars: "kube_versions.yml"
|
|
||||||
|
|
||||||
- name: Create dest directories
|
- name: Create dest directories
|
||||||
file: path={{local_release_dir}}/{{item.dest|dirname}} state=directory recurse=yes
|
file: path={{local_release_dir}}/{{item.dest|dirname}} state=directory recurse=yes
|
||||||
with_items: '{{downloads}}'
|
with_items: '{{downloads}}'
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
kube_version: v1.3.0
|
|
Loading…
Reference in a new issue