From 95fb71cf1a781eee61c2cc5f50493f4789e4f999 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 6 Jan 2022 07:26:35 +0000 Subject: [PATCH] chore: allow for skipping roles by tag --- main.yaml | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/main.yaml b/main.yaml index 8c2e496..05202da 100644 --- a/main.yaml +++ b/main.yaml @@ -1,21 +1,25 @@ --- - hosts: localhost roles: - - alacritty - - ctop - - dconf - - docker - - firefox - - fzf - - git - - htop - - lazydocker - - lazygit - - neovim - - nnn - - pv - - rename - - ripgrep - - tmux - - zsh - - zsh-antigen + - role: alacritty + tags: + - "skip-if-wsl" + - role: ctop + - role: dconf + - role: docker + - role: firefox + tags: + - "skip-if-wsl" + - role: fzf + - role: git + - role: htop + - role: lazydocker + - role: lazygit + - role: neovim + - role: nnn + - role: pv + - role: rename + - role: ripgrep + - role: tmux + - role: zsh + - role: zsh-antigen