tests: Consent to restart network when specifying wireless or team connections

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
Wen Liang 2024-02-20 14:44:31 -05:00 committed by liangwen12year
parent 66c3eef7e3
commit 44f937d82b
3 changed files with 3 additions and 0 deletions

View file

@ -26,6 +26,7 @@
include_role:
name: linux-system-roles.network
vars:
network_allow_restart: true
network_connections:
# Specify the team profile
- name: team0

View file

@ -26,6 +26,7 @@
include_role:
name: linux-system-roles.network
vars:
network_allow_restart: true
network_connections:
- name: wlan0
type: wireless

View file

@ -4,6 +4,7 @@
include_role:
name: linux-system-roles.network
vars:
network_allow_restart: true
network_connections:
- name: "{{ interface }}"
persistent_state: present