For a role I'm developing I need to verify that the kernel version is greater than a particular version.
I've found the ansible_kernel fact, but is there an easy way to compare this to other versions? I thought I might manually explode the version string on the dots (.) and compare the numbers, but I can't even find a friendly filter to explode the version string out, so I'm at a loss.
{{ variable.split('.') }}; you can then use a loop usingwith_togetherto compare major, minor and patch version each other