Update 'k8s/initialize.yml'
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
token: "{{ K8S_CP_JOIN_COMMAND.stdout }}"
|
||||
- name: Show command
|
||||
debug:
|
||||
msg: "{{ hostvars['K8S_CP_JOIN_DH']['token'] | regex_replace('[\\\\]+[n,t]', ' ')}}"
|
||||
msg: "{{ hostvars['K8S_CP_JOIN_DH']['token'] | regex_replace('([\\]+[n,t])', ' ')}}"
|
||||
- name: Join k8s masters to the cluster
|
||||
hosts: masters
|
||||
become: yes
|
||||
|
Reference in New Issue
Block a user