local/roles/tmux/tasks/Debian.yaml
Kenneth Benzie (Benie) 63ff47c3b2 Don't install xclip or xsel in WSL
Newer WSL2 has issues with `xclip`/`xsel` behaviour which cause Windows
GUI's to freeze waiting for input from an already exited process.
Switching to `win32yank.exe` for clipboard integrations.
2022-12-03 18:53:12 +00:00

27 lines
402 B
YAML

---
- name: install apt packages
become: true
apt:
name:
- tmux
- gawk
- sysstat
- urlview
state: latest
- name: install apt package
when: '"WSL" not in ansible_kernel'
become: true
apt:
name: xsel
state: latest
- name: remove apt package
when: '"WSL" in ansible_kernel'
become: true
apt:
name:
- xclip
- xsel
state: absent