techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.

Home Page:https://technotim.live/posts/k3s-etcd-ansible/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Task to Check Ansible Version

timothystewart6 opened this issue · comments

We should have a task that checks to be sure that ansible meets the minimum version. There have been lots of issues that have been reported about ansible not having split which is only available in later versions.

The current minimum is Ansible 2.11+

https://github.com/techno-tim/k3s-ansible#-system-requirements

It might be as simple as this

https://www.jeffgeerling.com/blog/2018/require-minimum-ansible-version-your-playbook

Also, if the error message could link here that might be helpful, however not required https://docs.technotim.live/posts/ansible-automation/#installing-the-latest-version-of-ansible

I would like to work on this one .