diff --git a/admin-cli.yml b/admin-cli.yml index 3c11c1e..e98afd9 100755 --- a/admin-cli.yml +++ b/admin-cli.yml @@ -4,6 +4,7 @@ hosts: all vars: gui: false + wsl_distro: "{{ lookup('env', 'WSL_DISTRO_NAME') }}" tasks: - include_role: name: arch diff --git a/roles/opensuse-leap/tasks/main.yml b/roles/opensuse-leap/tasks/main.yml index 7a4d7a9..9065752 100644 --- a/roles/opensuse-leap/tasks/main.yml +++ b/roles/opensuse-leap/tasks/main.yml @@ -4,4 +4,5 @@ when: gui == true - include: modules.yml - include: ssh.yml + when: wsl_distro|length == 0 - include: solokeys.yml