This is a simple repo to automate k3s nodes maintenance tasks using ansible playbooks.
Ping the ssh connection using the provided user in the inventory. Will ask for password through the terminal.
ansible all -m ping -i inventory.ini --ask-pass
Runs playbook.yaml. Will ask for ssh password for the provided user in the inventory file, as well as the privilege escalation password.
ansible-playbook -vv -i inventory.ini apt-upgrade-hosts.yaml --ask-pass --ask-become-pass