Skip SSH in WSL
This commit is contained in:
parent
01a14ec8bd
commit
12b97dc6c3
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
gui: false
|
gui: false
|
||||||
|
wsl_distro: "{{ lookup('env', 'WSL_DISTRO_NAME') }}"
|
||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: arch
|
name: arch
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
when: gui == true
|
when: gui == true
|
||||||
- include: modules.yml
|
- include: modules.yml
|
||||||
- include: ssh.yml
|
- include: ssh.yml
|
||||||
|
when: wsl_distro|length == 0
|
||||||
- include: solokeys.yml
|
- include: solokeys.yml
|
||||||
|
|
Loading…
Reference in a new issue