With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.
With that we also update metdata to reflect current state.
Change-Id: I6b4b83ec472d4a3de9139eb4e7c7b2dc8a9fc260
Since ansible-core 2.14 you can't use warn as module argument.
Instead, a tag is used to instruct ansible-lint to
supress alerts.
Change-Id: I4ceeee4bf6c1020851824450ec7b30f6d14573f3
The previous code assumed that the major version ('python3') could be
obtained by removing the last two characters from 'python3.X. This
does not work for pyhton releases 3.10 and onward, so this patch
changes the code to split the string on '.' and take the first portion.
Change-Id: I771cac2fc9badb61c22cfde65775aee97c31f89c
These varaibles are not required to be persisted as facts, so
convert them from facts to task vars to save a task execution.
Change-Id: Ibaae18199295761f8b52da31cccb9fa8ec40558b
Skipping tasks take time. It's faster not to import things we don't need
We also move symlinking to the separate task that can be inlcuded.
Change-Id: I20a5cda421910df9aaca3aacb3f3e088a1fd2938