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,7 +1,4 @@
---
dependencies:
- role: download
file: "{{ downloads.elasticsearch }}"
# TODO: bradbeam add in curator
# https://github.com/Skillshare/kubernetes-efk/blob/master/configs/elasticsearch.yml#L94
# - role: download

View File

@@ -1,4 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.fluentd }}"

View File

@@ -1,4 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.kibana }}"

View File

@@ -1,6 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.helm }}"
- role: download
file: "{{ downloads.tiller }}"

View File

@@ -1,4 +0,0 @@
---
dependencies:
- role: download
file: "{{ downloads.istioctl }}"

View File

@@ -1,19 +1,5 @@
---
dependencies:
- role: download
file: "{{ downloads.netcheck_server }}"
when: deploy_netchecker
tags:
- download
- netchecker
- role: download
file: "{{ downloads.netcheck_agent }}"
when: deploy_netchecker
tags:
- download
- netchecker
- role: kubernetes-apps/ansible
tags:
- apps

View File

@@ -1,15 +1,5 @@
---
dependencies:
- role: download
file: "{{ downloads.calico_policy }}"
when:
- enable_network_policy
- kube_network_plugin in ['calico', 'canal']
tags:
- download
- canal
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'calico'