local/playbooks/Linux.yaml
Kenneth Benzie (Benie) f512ec427b Rename gnome-tweaks to gnome-shell
Also start gathering info for starting work on #17.
2024-04-07 23:48:54 +01:00

22 lines
637 B
YAML

---
- import_playbook: LinuxCLI.yaml
- import_playbook: UnixGUI.yaml
- hosts: localhost
vars:
github_auth_headers: >-
{{ { 'Authorization': 'Bearer ' + lookup('env', 'GITHUB_TOKEN') }
if lookup('env', 'GITHUB_TOKEN') else {} }}
roles:
- role: firefox
- role: kitty
- role: cider
- role: gnome-shell
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"
)