when 조건 수정

This commit is contained in:
정훈 변
2024-02-20 12:03:31 +09:00
parent 85d097ab18
commit c6123d17d8

View File

@@ -1,7 +1,7 @@
---
- include: localrepo.yml
tags: localrepo
when: "'kube_control_plane' in group_names"
when: "'kube_control_plane' in group_names and inventory_hostname == groups['kube_control_plane'][0]"
- include: node_localrepo.yml
tags: node_localrepo
@@ -17,4 +17,4 @@
- include: containerd-spray.yml
when: "'kube_control_plane' in group_names"
delegate_to: 127.0.0.1
delegate_to: 127.0.0.1