sudo su
passwd
# some root password
nano /etc/ssh/sshd_config
# Append line
PermitRootLogin yes
service sshd restart
exit
ssh root@192.,...
# Then ssh login for root -> check ok
swapoff -v /swap.img
nano /etc/fstab
- Delete the second line (ends with 0 0 )
rm /swap.img
reboot
ssh-keygen
ssh-copy-id root@192....
ssh-copy-id [email protected]
ssh-copy-id [email protected]
sudo apt update
sudo apt install software-properties-common
sudo apt-add-repository ppa:ansible/ansible [press enter]
sudo apt update
sudo apt install ansible
https://www.digitalocean.com/community/tutorials/how-to-create-a-kubernetes-cluster-using-kubeadm-on-ubuntu-18-04