Skip SSH in WSL

This commit is contained in:
Anthony Rose 2020-11-24 00:36:52 +00:00
parent 01a14ec8bd
commit 12b97dc6c3
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@
hosts: all
vars:
gui: false
wsl_distro: "{{ lookup('env', 'WSL_DISTRO_NAME') }}"
tasks:
- include_role:
name: arch

View file

@ -4,4 +4,5 @@
when: gui == true
- include: modules.yml
- include: ssh.yml
when: wsl_distro|length == 0
- include: solokeys.yml