2017-03-13 15:04:31 +00:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: download
|
|
|
|
file: "{{ downloads.calico_policy }}"
|
2017-10-05 07:43:04 +00:00
|
|
|
when:
|
|
|
|
- enable_network_policy
|
|
|
|
- kube_network_plugin in ['calico', 'canal']
|
|
|
|
tags:
|
|
|
|
- download
|
|
|
|
- canal
|
|
|
|
- policy-controller
|
|
|
|
|
2017-03-13 15:04:31 +00:00
|
|
|
- role: policy_controller/calico
|
2017-10-05 07:43:04 +00:00
|
|
|
when:
|
|
|
|
- kube_network_plugin == 'calico'
|
|
|
|
- enable_network_policy
|
|
|
|
tags:
|
|
|
|
- policy-controller
|
|
|
|
|
2017-03-13 15:04:31 +00:00
|
|
|
- role: policy_controller/calico
|
2017-10-05 07:43:04 +00:00
|
|
|
when:
|
|
|
|
- kube_network_plugin == 'canal'
|
|
|
|
tags:
|
|
|
|
- policy-controller
|