8b151d12b9
* Adding yaml linter to ci check * Minor linting fixes from yamllint * Changing CI to install python pkgs from requirements.txt - adding in a secondary requirements.txt for tests - moving yamllint to tests requirements
22 lines
664 B
YAML
22 lines
664 B
YAML
---
|
|
- set_fact:
|
|
calico_cert_dir: "{{ canal_cert_dir }}"
|
|
when: kube_network_plugin == 'canal'
|
|
tags: [facts, canal]
|
|
|
|
- name: Write calico-policy-controller yaml
|
|
template:
|
|
src: calico-policy-controller.yml.j2
|
|
dest: "{{kube_config_dir}}/calico-policy-controller.yml"
|
|
when: inventory_hostname == groups['kube-master'][0]
|
|
tags: canal
|
|
|
|
- name: Start of Calico policy controller
|
|
kube:
|
|
name: "calico-policy-controller"
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
filename: "{{kube_config_dir}}/calico-policy-controller.yml"
|
|
namespace: "{{system_namespace}}"
|
|
resource: "rs"
|
|
when: inventory_hostname == groups['kube-master'][0]
|
|
tags: canal
|