From 348974be6fab3b0a11b986a3da98f7c3437a48a4 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 23 Apr 2023 08:21:09 -0500 Subject: [PATCH] stdout country code detection --- roles/network/tasks/sysd-netd-debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/sysd-netd-debian.yml b/roles/network/tasks/sysd-netd-debian.yml index 6051971b9..5f66db11c 100644 --- a/roles/network/tasks/sysd-netd-debian.yml +++ b/roles/network/tasks/sysd-netd-debian.yml @@ -96,7 +96,7 @@ - name: Set Wifi Region country code for hostapd when present set_fact: host_country_code: "{{ REG_DOM.stdout }}" - when: REG_DOM is defined and REG_DOM.stdout | length > 0 + when: REG_DOM.stdout is defined and REG_DOM.stdout | length > 0 - name: Clone wifi if needed systemd: