Some checks failed
ansible-lint / Ansible Lint (push) Failing after 9s
This commit refactors the task handling logic to utilize the `en_interfaces` module and includes a conditional check for non-empty lists, enhancing code readability and functionality.