From 640617030e4874648f31d31260894353cc8f04df Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 10 May 2021 15:36:20 -0400 Subject: [PATCH] fix wsl check for non-wsl platforms --- localdev.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/localdev.yml b/localdev.yml index 48f10b9..1b864b2 100644 --- a/localdev.yml +++ b/localdev.yml @@ -7,6 +7,11 @@ ansible.builtin.shell: /bin/true register: wsl when: ansible_facts['kernel'] | regex_search("microsoft", ignorecase=True) + ignore_errors: true + + - name: debug wsl + ansible.builtin.debug: + var: wsl - name: Install the packages for Fedora import_tasks: dnf.yml @@ -35,7 +40,7 @@ vars: tela_icons_url: https://cloud.penguincoder.org/s/KqzGj5oEfTp5G57/download/01-Tela.tar.xz layan_dark_url: https://cloud.penguincoder.org/s/GQ2ygcmk2FxBofg/download/Layan-dark.tar.xz - when: not wsl + when: wsl is skipped - name: Install bitwarden cli import_tasks: bitwarden.yml