22 lines
637 B
YAML
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"
|
|
)
|