mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-25 11:54:06 +00:00
ansible_interfaces requires iproute to be present which might not be the case for container images. Check /sys/class/net to avoid the dependency.
5 lines
147 B
YAML
5 lines
147 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- include: get-current_interfaces.yml
|
|
- debug:
|
|
msg: "current_interfaces: {{ current_interfaces }}"
|