local/playbooks/Linux.yaml

18 lines
476 B
YAML

---
- import_playbook: LinuxCLI.yaml
- import_playbook: UnixGUI.yaml
- hosts: localhost
roles:
- role: firefox
- role: kitty
- role: cider
- role: gnome-tweaks
when: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP"
- role: xremap
when: >
'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and
ansible_env.XDG_SESSION_TYPE == 'wayland' and (
ansible_os_family == "RedHat" or
ansible_os_family == "Debian"
)