local/main.yaml
Kenneth Benzie (Benie) a3b51a9261 Add wsl role to when WSL is detected in kernel name
This role sets up the non-standard `win_git:` module for use when
managing a Windows host from within WSL on the same system.
2022-05-01 19:42:33 +01:00

16 lines
235 B
YAML

---
- hosts: localhost
roles:
- role: zsh
- role: tmux
- role: neovim
- role: git
- role: python
- role: wsl
when: '"WSL" in ansible_kernel'
- hosts: windows
roles:
- role: neovim
- role: git