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:
Anthony Haussmann 2016-09-28 16:15:18 +02:00
parent 9146b8917d
commit f9a18460d3
6 changed files with 2 additions and 8 deletions

View file

@ -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

View file

@ -1,6 +1,4 @@
---
- include_vars: kube_versions.yml
- name: downloading...
debug:
msg: "{{ download.url }}"

View file

@ -1 +0,0 @@
kube_version: v1.3.0

View file

@ -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

View file

@ -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}}'

View file

@ -1 +0,0 @@
kube_version: v1.3.0