gitops/scripts/gather_network_info.yml
2025-05-23 21:19:18 +08:00

13 lines
309 B
YAML

---
- name: Gather and display specific network interface information based on dynamic filter
hosts: "{{ target_group }}"
user: ubuntu
become: yes
gather_facts: yes
tasks:
- include_role:
name: network_info
vars:
target_group: master
interface_filter: "^(ens|cni)"