k3s-ansiblerepository, modify the playbook inventory, and run it:
inventory/hosts.ini, and replace the examples with the IPs or hostnames of your master and nodes. This file describes the K3s masters and nodes to Ansible as it installs K3s.
inventory/group_vars/all.ymlfile and change the
ansible-playbook site.yml -i inventory/hosts.iniand wait.
kubectlconfiguration from the master:
KUBECONFIGenvironment variable, and start running