many changes

This commit is contained in:
hybris 2019-08-08 21:20:54 +02:00
parent d4cb32b9c3
commit dccf8ca00e
22 changed files with 297 additions and 133 deletions

View file

@ -0,0 +1,19 @@
---
- name: restart services
systemd:
name: kubelet
state: restarted
daemon_reload: yes
# - name: Copy the join command to server location
# copy: src=join-command dest=/tmp/join-command.sh mode=0777
# - name: meh
# wait_for_connection:
# reboot:
# - name: Join the node to cluster
# command: sh /tmp/join-command.sh
# # command: kubeadm join [2001:470:6d:22c:42::1]:6443 --token 7d39kx.nlwuwxi2gx37yjod --discovery-token-ca-cert-hash sha256:bd0e8d215d8b7738f7c5a928484c9589cd4455fc8e292a8308cdd164e40766fd
# async: '{{ async_timeout|default(1000) }}'
# poll: '{{ async_poll|default(10) }}'