Rearrange playbooks, add Linux specific ones

This commit is contained in:
Kenneth Benzie 2023-06-03 11:19:03 +01:00
parent 876db8ecfb
commit 3b31dc06fe
6 changed files with 17 additions and 10 deletions

3
playbooks/Linux.yaml Normal file
View File

@ -0,0 +1,3 @@
---
- import_playbook: LinuxCLI.yaml
- import_playbook: UnixGUI.yaml

5
playbooks/LinuxCLI.yaml Normal file
View File

@ -0,0 +1,5 @@
---
- hosts: localhost
roles:
- role: gdb
- role: system-info

View File

@ -8,8 +8,6 @@
- role: zsh
- role: neovim
- role: tmux
- role: system-info
when: '"WSL" not in ansible_kernel'
- role: ag
- role: bash
@ -30,10 +28,5 @@
- role: wget
- role: yq
- role: gdb
when: ansible_os_family != "Darwin"
- role: llvm
- role: nodejs
- role: wsl
when: '"WSL" in ansible_kernel'

View File

@ -1,5 +1,4 @@
---
- import_playbook: UnixCLI.yaml
- hosts: localhost
roles:
- role: 1password

View File

@ -1,3 +1,6 @@
---
- import_playbook: Unix.yaml
- import_playbook: Windows.yaml
- import_playbook: UnixCLI.yaml
- hosts: localhost
roles:
- role: gdb
- role: wsl

View File

@ -1,4 +1,8 @@
---
- import_playbook: UnixCLI.yaml
- hosts: localhost
roles:
- role: system-info
- import_playbook: UnixGUI.yaml
- hosts: localhost
roles: