mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* project: fix ansible-lint name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
20 lines
522 B
YAML
20 lines
522 B
YAML
---
|
|
|
|
- name: Youki | Copy runtime class manifest
|
|
template:
|
|
src: runtimeclass-youki.yml
|
|
dest: "{{ kube_config_dir }}/runtimeclass-youki.yml"
|
|
mode: "0664"
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
- name: Youki | Apply manifests
|
|
kube:
|
|
name: "runtimeclass-youki"
|
|
kubectl: "{{ bin_dir }}/kubectl"
|
|
resource: "runtimeclass"
|
|
filename: "{{ kube_config_dir }}/runtimeclass-youki.yml"
|
|
state: "latest"
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|