Add WSL playbook to run Unix and Windows

This commit is contained in:
Kenneth Benzie 2022-06-03 21:11:27 +01:00
parent f4bcbbbe09
commit 01c1ca74a3
3 changed files with 6 additions and 10 deletions

View File

@ -15,3 +15,6 @@
- role: llvm - role: llvm
- role: nodejs - role: nodejs
- role: python - role: python
- role: wsl
when: '"WSL" in ansible_kernel'

3
WSL.yaml Normal file
View File

@ -0,0 +1,3 @@
---
- import_playbook: Unix.yaml
- import_playbook: Windows.yaml

View File

@ -1,14 +1,4 @@
--- ---
- import_playbook: unix.yaml
- hosts: localhost
# FIXME: Roles which depend on the win_git module can't be in the same
# playbook on the first run because the wsl role hasn't added the win_git
# module to the modules path yet.
roles:
- role: wsl
- hosts: windows - hosts: windows
roles: roles: