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.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Ansible Task to Check Ansible Version #251

Closed timothystewart6 closed 4 months ago

timothystewart6 commented 1 year ago

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

SaumyaBhushan commented 1 year ago

I would like to work on this one .

bdsoha commented 5 months ago

This was implemented in #454, IMO this can be closed.

timothystewart6 commented 4 months ago

closed by https://github.com/techno-tim/k3s-ansible/pull/454