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

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