Skip to content

A simple ansible playbook to automate k3s cluster maintenance tasks

Notifications You must be signed in to change notification settings

Hentouane/k3s-cluster-maintenance-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

K3s cluster maintenance playbooks

This is a simple repo to automate k3s nodes maintenance tasks using ansible playbooks.

Commands

Ping

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

Run playbook

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

About

A simple ansible playbook to automate k3s cluster maintenance tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published