Include Vicinae setup in workstation playbook for non-WSL2 systems Update flake.lock to newer nixpkgs revision
78 lines
2.6 KiB
YAML
78 lines
2.6 KiB
YAML
---
|
|
- name: Workstation Setup
|
|
block:
|
|
- name: Include workstation symlinks tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
|
|
|
- name: Include Zed configuration tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/zed.yml
|
|
|
|
- name: Include workstation cliphist tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/cliphist.yml
|
|
when: "'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
|
|
|
|
- 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: Include Vicinae tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/vicinae.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
|
|
|
|
state: present
|
|
become: true
|
|
|
|
- name: Ensure Ubuntu/Debian packages are installed
|
|
ansible.builtin.package:
|
|
name:
|
|
- clang
|
|
- cmake
|
|
- git
|
|
- ninja-build
|
|
- pkg-config
|
|
- libgtk-3-dev
|
|
- liblzma-dev
|
|
- libstdc++-12-dev
|
|
- dolphin-nextcloud
|
|
- nextcloud-desktop
|
|
state: present
|
|
when: ansible_pkg_mgr == 'apt'
|
|
become: true
|