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

7 lines
221 B
YAML

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