Files
inception-of-things/p1/roles/worker/tasks/main.yml

8 lines
184 B
YAML

---
- name: Copy the join command to server location
copy: src=join-command dest=/tmp/join-command.sh mode=0777
- name: Join the node to cluster
command: sh /tmp/join-command.sh