---
- name: Include variables based on the operating system
  include_vars: "{{ ansible_os_family }}.yml"

# @action Performs miscellaneous desktop tasks
# Makes the `~/Applications`` folder link AppImages so they show up in the launcher
# @action Performs miscellaneous desktop tasks
# Installs common Desktop apps
# @action Performs miscellaneous desktop tasks
# Sets up Terminal apps
- name: Include tasks based on the operating system
  become: true
  become_method: "{{ 'runas' if ansible_os_family == 'Windows' else 'sudo' }}"
  become_user: "{{ ansible_user if ansible_os_family == 'Windows' else omit }}"
  block:
    - include_tasks: "setup-{{ ansible_os_family }}.yml"
