feat : Add task to filter interfaces starting with 'en'
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s

This feature introduces a new task that filters and processes interfaces whose names begin with the prefix 'en'. This enhancement allows for more targeted and efficient handling of specific interface types within our application.
This commit is contained in:
2025-12-24 09:45:10 +01:00
parent fda4d88c81
commit 6a873433f1

View File

@@ -22,6 +22,10 @@
msg: >
{{ ansible_facts.interfaces }}
- name: Get interfaces starting with "en"
set_fact:
en_interfaces: "{{ msg | select('match', '^en') | list }}"
# # ============================================================
# # Normalize and validate configuration
# # ============================================================