60 lines
2.4 KiB
YAML
60 lines
2.4 KiB
YAML
---
|
|
- name: Workstation Setup
|
|
block:
|
|
- name: Include workstation symlinks tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
|
|
|
- name: Include workstation cliphist tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/cliphist.yml
|
|
when: "'microsoft-standard-WSL2' not in ansible_kernel"
|
|
|
|
- name: Include GNOME Extensions tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/gnome-extensions.yml
|
|
when: ansible_facts.env.XDG_CURRENT_DESKTOP is defined and 'GNOME' in ansible_facts.env.XDG_CURRENT_DESKTOP and 'microsoft-standard-WSL2' not in ansible_kernel
|
|
|
|
- name: Include Firefox APT installation tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/firefox-apt.yml
|
|
when: ansible_pkg_mgr == 'apt' and ansible_facts.packages.snapd is defined and 'microsoft-standard-WSL2' not in ansible_kernel
|
|
|
|
- name: Include flatpaks tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/flatpaks.yml
|
|
when: "'microsoft-standard-WSL2' not in ansible_kernel"
|
|
tags: flatpaks
|
|
|
|
- name: Include snaps tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/snaps.yml
|
|
when: ansible_facts.packages.snapd is defined and 'microsoft-standard-WSL2' not in ansible_kernel
|
|
|
|
# Disabled for now since we are not using Zen browser anymore in favor of Brave
|
|
# - name: Include Zen browser tasks
|
|
# ansible.builtin.import_tasks: tasks/workstations/zen-browser.yml
|
|
# vars:
|
|
# browser_name: "zen"
|
|
# browser_executable: "zen"
|
|
# when: "'microsoft-standard-WSL2' not in ansible_kernel"
|
|
|
|
- name: Include 1Password Browsers tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/1password-browsers.yml
|
|
when: "'microsoft-standard-WSL2' not in ansible_kernel"
|
|
|
|
- name: Include purge LibreOffice tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/purge-libreoffice.yml
|
|
|
|
- name: Include autostart tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/autostart.yml
|
|
when: "'microsoft-standard-WSL2' not in ansible_kernel"
|
|
|
|
- name: Ensure workstation common packages are installed
|
|
ansible.builtin.package:
|
|
name:
|
|
# Statistics HUD for gaming
|
|
- mangohud
|
|
# Used for VSCode Extensions
|
|
- nodejs
|
|
# DistroBox
|
|
- distrobox
|
|
# Android Screen Mirroring
|
|
- scrcpy
|
|
state: present
|
|
become: true
|