network/tests/tasks/assert_IPv4_present.yml
Wen Liang 910ddd20a9 test: Rewrite tests_bond_options.yml in the new testing format
The new testing format is more concise and easier to debug when test
failure happens.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2024-02-14 20:20:49 -07:00

9 lines
220 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- name: "** TEST check IPv4"
command: ip -4 a s {{ interface }}
register: result
until: "'{{ address }}' in result.stdout"
retries: 20
delay: 2
changed_when: false