when 조건 수정
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user