2024-04-27 01:33:23 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# HTTP PROXY
|
|
|
|
- name: http proxy tasks
|
|
|
|
ansible.builtin.include_tasks: "{{ k8s_type }}/proxy.yml"
|
|
|
|
tags:
|
|
|
|
- k8s-config
|
|
|
|
|
|
|
|
# CANAL NM CONFIG
|
2024-06-04 00:12:30 +00:00
|
|
|
- name: template canal network-manager config
|
2024-04-27 01:33:23 +00:00
|
|
|
ansible.builtin.template:
|
2024-05-13 19:45:20 +00:00
|
|
|
src: "templates/{{ k8s_type }}/canal.conf.j2"
|
2024-04-27 01:33:23 +00:00
|
|
|
dest: "{{ k8s_nm_path }}/{{ k8s_type }}-canal.conf"
|
|
|
|
mode: 0600
|
|
|
|
when:
|
2024-05-05 17:02:27 +00:00
|
|
|
- k8s_cni_type is not defined or k8s_cni_type == "canal"
|
2024-05-13 19:45:20 +00:00
|
|
|
- k8s_has_nm is defined and k8s_has_nm
|
2024-04-27 01:33:23 +00:00
|
|
|
tags:
|
|
|
|
- k8s-config
|