Refactor downloads to use download role directly (#1824)

* Refactor downloads to use download role directly

Also disable fact delegation so download delegate works acros OSes.

* clean up bools and ansible_os_family conditionals
This commit is contained in:
Matthew Mosesohn
2017-10-19 09:17:11 +01:00
committed by GitHub
parent 49dff97d9c
commit fc9a65be2b
28 changed files with 312 additions and 472 deletions

View File

@@ -1,21 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.calico_cni }}"
tags:
- download
- role: download
file: "{{ downloads.calico_node }}"
tags:
- download
- role: download
file: "{{ downloads.calicoctl }}"
tags:
- download
- role: download
file: "{{ downloads.hyperkube }}"
tags:
- download

View File

@@ -1,7 +0,0 @@
---
dependencies:
- role: etcd
- role: docker
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
- role: download
file: "{{ downloads.calico_rr }}"

View File

@@ -1,26 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.flannel }}"
tags:
- download
- role: download
file: "{{ downloads.calico_node }}"
tags:
- download
- role: download
file: "{{ downloads.calicoctl }}"
tags:
- download
- role: download
file: "{{ downloads.calico_cni }}"
tags:
- download
- role: download
file: "{{ downloads.calico_policy }}"
tags:
- download

View File

@@ -1,11 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.flannel }}"
tags:
- download
- role: download
file: "{{ downloads.flannel_cni }}"
tags:
- download

View File

@@ -1,11 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.weave_kube }}"
tags:
- download
- role: download
file: "{{ downloads.weave_npc }}"
tags:
- download