@ -31,7 +31,7 @@
- name: Create dummy host to hold the token
add_host:
name: "K8S_CP_JOIN_DH"
token: "K8S_CP_JOIN_COMMAND.stdout"
token: "{{ K8S_CP_JOIN_COMMAND.stdout }}"
- name: Show command
debug:
msg: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }}"