Commit 917d4eba authored by eric pellegrini's avatar eric pellegrini

added playbook and associated roles for joining nodes of the cluster

parent 35ab3d39
- hosts: nodes
remote_user: root
environment:
no_proxy: "{{ configured_no_proxy }}"
NO_PROXY: "{{ configured_no_proxy }}"
roles:
- role: roles/join-nodes
become_user: kubernetes-admin
become: yes
---
- name: copy the join command to nodes
copy:
src: kub-join-command.sj
dest: /tmp/kub-join-command.sh
mode: u+x
- name: join the node to cluster
command: sh /tmp/kub-join-command.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment