mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
Feature: Support running the timesync role during container builds. Reason: This is particularly useful for building bootc derivative OSes. Result: These flags enable running the bootc container scenarios in CI, which ensures that the role works in buildah build environment. This allows us to officially support this role for image mode builds. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
21 lines
599 B
YAML
21 lines
599 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- name: Handle test task file
|
|
include_tasks: "{{ lsr_test_item }}"
|
|
when: lsr_test_item is string
|
|
|
|
- name: Handle test task with network role
|
|
when:
|
|
- lsr_test_item is mapping
|
|
- lsr_test_item.get("network_connections") is not none
|
|
- lsr_test_item.get("condition", true)
|
|
block:
|
|
- name: Include network role
|
|
include_role:
|
|
name: linux-system-roles.network
|
|
vars:
|
|
network_connections: "{{ lsr_test_item['network_connections'] }}"
|
|
|
|
- name: Show result
|
|
debug:
|
|
var: __network_connections_result
|