mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-19 01:17:00 +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.
13 lines
379 B
YAML
13 lines
379 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
# This file was generated by ensure_provider_tests.py
|
|
---
|
|
- hosts: all
|
|
name: Run playbook 'playbooks/tests_states.yml' with initscripts as provider
|
|
tasks:
|
|
- name: Set network provider to 'initscripts'
|
|
set_fact:
|
|
network_provider: initscripts
|
|
tags:
|
|
- always
|
|
|
|
- import_playbook: playbooks/tests_states.yml
|