mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-18 17:05:13 +00:00
When a profile is specified as absent, ignore state requests if the profile is already removed or not completely specified to improve idempotence. Also restructure the states test. This introduces a clear structure for the individual test steps, properly assigns tags for each test from the file and provides a clear error message with a description of the test that failed in case of errors. Support for tests that expect a failure is still missing.
9 lines
199 B
YAML
9 lines
199 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- include_role:
|
|
name: linux-system-roles.network
|
|
vars:
|
|
network_connections:
|
|
- name: "{{ interface }}"
|
|
persistent_state: absent
|
|
...
|