mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 20:12:43 +00:00
12 lines
303 B
YAML
12 lines
303 B
YAML
- hosts: SecondaryMasters
|
|
tasks:
|
|
- name: reset kubeadm for safety
|
|
command: kubeadm reset -f
|
|
- name: copy join command
|
|
copy:
|
|
src: joinMaster.sh
|
|
dest: join.sh
|
|
- name: make executable
|
|
command: chmod +x join.sh
|
|
- name: run join
|
|
command: sh ./join.sh |