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