|
|
@ -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'] }}" |
|
|
|