Hi, analyzing the code I noticed that the task "Install the correct repository" in tasks/main.yml is done several times to contemplate each family of operating system and could be reduced to only one (the proposal in this PR). This improves readability and avoids repeating the code of conditionals and tags.
In turn, using include_tasks instead ofinclude makes more intuitive to understand what the role does.
Hi, analyzing the code I noticed that the task "Install the correct repository" in
tasks/main.yml
is done several times to contemplate each family of operating system and could be reduced to only one (the proposal in this PR). This improves readability and avoids repeating the code of conditionals and tags.In turn, using
include_tasks
instead ofinclude
makes more intuitive to understand what the role does.