Update 'k8s/initialize.yml'

This commit is contained in:
2024-05-04 16:07:05 +00:00
parent 11a41466a5
commit 33523bba11

View File

@@ -34,7 +34,7 @@
token: "{{ K8S_CP_JOIN_COMMAND.stdout }}" token: "{{ K8S_CP_JOIN_COMMAND.stdout }}"
- name: Show command - name: Show command
debug: 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 - name: Join k8s masters to the cluster
hosts: masters hosts: masters
become: yes become: yes