mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-11 04:38:05 +03:00
split network plugins into distinct roles
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
---
|
||||
- name: tokens | copy the token gen script
|
||||
copy:
|
||||
src=kube-gen-token.sh
|
||||
dest={{ kube_script_dir }}
|
||||
mode=u+x
|
||||
when: inventory_hostname == groups['kube-master'][0]
|
||||
|
||||
- name: tokens | generate tokens for master components
|
||||
command: "{{ kube_script_dir }}/kube-gen-token.sh {{ item[0] }}-{{ item[1] }}"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user