From 0c0299a79a056c099f8e1d43d2788201afe3837a Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 1 Dec 2020 14:58:30 +0000 Subject: [PATCH] Fix WSL detection --- roles/opensuse-leap/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/opensuse-leap/tasks/main.yml b/roles/opensuse-leap/tasks/main.yml index a2a3fe9..98be231 100644 --- a/roles/opensuse-leap/tasks/main.yml +++ b/roles/opensuse-leap/tasks/main.yml @@ -4,6 +4,6 @@ when: gui == true - include: modules.yml - include: ssh.yml - when: wsl_distro|length == 0 + when: wsl_distro is not defined - include: solokeys.yml - when: wsl_distro|length == 0 + when: wsl_distro is not defined