ansible-role-k8s/tasks/rke2/config.yml
2024-04-27 01:33:23 +00:00

20 lines
441 B
YAML

---
# HTTP PROXY
- name: http proxy tasks
ansible.builtin.include_tasks: "{{ k8s_type }}/proxy.yml"
tags:
- k8s-config
# CANAL NM CONFIG
- name: template nm canal config
ansible.builtin.template:
src: "templates/{{ k8s_type }}-canal.conf.j2"
dest: "{{ k8s_nm_path }}/{{ k8s_type }}-canal.conf"
mode: 0600
when:
- k8s_cni_type == "canal"
- k8s_has_nm
tags:
- k8s-config