Make the `helper_modules` role a simple task file
alxgomz opened this issue · 1 comments
alxgomz commented
We have introduced a while ago a playbook which can be run before running the deployment playbook, in order to check required TCP ports are available from and to the appropriate machines.
This has been implemented within a role. Which does the following:
- checks on the destination host (where the port needs to be available) that no other service is running
- starts listening on the port
- try connecting from the source to the opened port
While the logic is fine we think it doesn't make sense to use a role for that. The purpose of this ticket is to achieve:
- Removal of the role
- Move the custom
listen_port
module to the main playbook - Creation a task file and call it from the
prerequisite-checks.yml
playbook
alxgomz commented
tracked by OPSEXP-2147