Update 'k8s/initialize.yml'
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
- name: Create dummy host to hold the token
|
- name: Create dummy host to hold the token
|
||||||
add_host:
|
add_host:
|
||||||
name: "K8S_CP_JOIN_DH"
|
name: "K8S_CP_JOIN_DH"
|
||||||
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'] }}"
|
msg: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }}"
|
||||||
|
Reference in New Issue
Block a user