mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-19 09:24:41 +00:00
8 lines
340 B
YAML
8 lines
340 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
# need to run setup again when this is just a task to make sure ansible_interfaces is correct
|
|
- setup:
|
|
- assert:
|
|
name: "assert that {{ interface }} is present"
|
|
that: "{{ interface in ansible_interfaces }}"
|
|
msg: "{{ interface }} is not in ansible_interfaces: {{ ansible_interfaces }}"
|