As ansible-core 2.17 was released and it does not support Python 2 or Python 3.6, this patch adds tests for both latest ansible-core and ansible-core 2.16, and it also bumps the different versions of ansible-core to use 2.14, 2.15 and 2.16 for the pipelines.
Also, the Ubuntu VM image version is updated to 22.04.
As ansible-core 2.17 was released and it does not support Python 2 or Python 3.6, this patch adds tests for both latest ansible-core and ansible-core 2.16, and it also bumps the different versions of ansible-core to use 2.14, 2.15 and 2.16 for the pipelines.
Also, the Ubuntu VM image version is updated to 22.04.