From 50d0d7453eb6697375affdc203c4251876d4c6da Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Wed, 4 Dec 2024 10:40:14 +0000 Subject: [PATCH] fix(kiss): make the interface_primary_speed_mbps be positive --- templates/kiss/tasks/commission/network-ethernet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/kiss/tasks/commission/network-ethernet.yaml b/templates/kiss/tasks/commission/network-ethernet.yaml index 1038fa11..58d0fa54 100644 --- a/templates/kiss/tasks/commission/network-ethernet.yaml +++ b/templates/kiss/tasks/commission/network-ethernet.yaml @@ -221,7 +221,7 @@ - name: Make the interface_primary_speed_mbps be positive when: - interface_primary_speed_mbps is defined - - interface_primary_speed_mbps < 0 + - (interface_primary_speed_mbps | int) < 0 set_fact: interface_primary_speed_mbps: 0