network/tests/tasks/assert_device_present.yml
2020-04-22 17:40:03 +02:00

7 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"