Files
toallab-automation/roles/linux-system-roles.network/tests/tasks/assert_device_present.yml

8 lines
226 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- include: get_interface_stat.yml
- name: "assert that interface {{ interface }} is present"
assert:
that: interface_stat.stat.exists
msg: "{{ interface }} does not exist"