feat(kubevirt): optionally specify which nodes within a cluster to install kubeviirt

!35
This commit is contained in:
2024-03-13 00:08:51 +09:30
parent af26559485
commit 2b041c1cca
2 changed files with 18 additions and 19 deletions

View File

@ -73,6 +73,8 @@
when: >
kubernetes_installed | default(false) | bool
and
nfc_role_kubernetes_install_kubevirt
kubernetes_config.kube_virt.enabled | default(nfc_role_kubernetes_install_kubevirt)
and
inventory_hostname in kubernetes_config.kube_virt.nodes | default([ inventory_hostname ]) | list
tags:
- always