Factorize dynamic groups into a role

This commit is contained in:
Max Gautier
2025-06-13 21:53:02 +02:00
parent ad31de4220
commit 69c4c90634
3 changed files with 34 additions and 25 deletions

View File

@@ -28,3 +28,16 @@
roles:
- role: kubespray_defaults
- role: network_plugin/cni
tasks:
- name: Create /etc/cni/net.d directory
file:
path: /etc/cni/net.d
state: directory
owner: root
mode: "0755"
- name: Config bridge host-local CNI
copy:
src: "10-mynet.conf"
dest: "/etc/cni/net.d/"
owner: root
mode: "0644"