Machine K8s
Tasks
Disable SELinux (ansible.posix.selinux)
Flush Handlers (ansible.builtin.meta)
Check if crio is installed (ansible.builtin.stat)
Install SSH authorized key from inventory (ssh_authorized_key, typically from ansible-vault via group_vars/all/vault.yml) (ansible.posix.authorized_key)
Install Kubernetes if it isn't already
Install Kubernetes packages (ansible.builtin.package)
Remove unwanted packages (ansible.builtin.package)
Copy k8s modprobe (ansible.builtin.copy)
Modprobe netfilter (community.general.modprobe)
Service - enable and start CRIO (ansible.builtin.service)
Enable IPv4 forwarding via syscyl (ansible.posix.sysctl)
Do something with sysctl (ipv4) (ansible.posix.sysctl)
Do something with sysctl (ipv6) (ansible.posix.sysctl)
Reload, start and enable kubelet (ansible.builtin.service)
Stop and disable resolved (ansible.builtin.service)
Flush Handlers (ansible.builtin.meta)
Remove old systemd-resolved resolv.conf stub (ansible.builtin.file)
Restart network manager to regenerate resolv.conf (ansible.builtin.service)
Flush handlers (ansible.builtin.meta)
Kubeadm pull (ansible.builtin.command)
Files
README.md
files/k8s-modprobe.conf
handlers/main.yml
meta/main.yml
tasks/main.yml