If you don’t know, ask – if you know, share! ~ opensource mindset
by Marco Bravo
The Ansible community has long been a victim of its own success. Since I got started with Ansible in 2013, the growth in the number of Ansible modules and plugins has been astronomical. That’s what happens when you build a very simple but powerful tool—easy enough for anyone to extend into any automation use case.
The k8s modules and plugins that existed as part of the main ansible package in Ansible 2.9 and earlier will still be present in Ansible 2.10 if you run pip install ansible, but I’d recommend depending on and using the Kubernetes Collection directly, to make sure you can use the latest code as soon as it becomes available.
We’re still in the early days of moving the k8s content out of the main Ansible repo into the Collection repo, but it’s already easier than ever to contribute Kubernetes content! The collection includes three sets of tests—all which can be run locally:
You can run these tests, and even use the local environment with molecule to do development work and test bug fixes for the Collection. Read more about Testing and Development in the collection’s README.
Further reading
tags: opensource - cncf - ansible - collection - kubernetes - k8s