Update 'k8s/initialize.yml'

master
alecsandru 9 months ago
parent 7fbb181f2b
commit 8e54a850b3
  1. 2
      k8s/initialize.yml

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

Loading…
Cancel
Save