---
# Download packages from Homebrew.
# Should this just be done in a Generic view? Is this really mac-specific, or just the facts?
# FreeBSD has its own. May be good to keep it separate so it's more to-the-point.

- name: Workstation | Mac OS | Software | Brew | Install Packages
  package:
    name:
      - atomic-wallet
      - brave-browser
      - discord
      - garmin-express
      - telegram-desktop
    status: present

- name: Workstation | Mac OS | Software | Brew | Install Packages (Coding)
  package:
    name:
      - android studio
      - firefox-esr
      - visual-studio-code
    status: present
  when: coding == true

- name: Workstation | Mac OS | Software | Brew | Install Packages (Editing:Video)
  package:
    name:
      - shotcut
    status: present
  when: editing in (true, "video")

- name: Workstation | Mac OS | Software | Brew | Install Packages (Editing:Audio)
  package:
    name:
      - audacity
    status: present
  when: editing in (true, "audio")

- name: Workstation | Mac OS | Software | Brew | Install Packages (Gaming)
  package:
    name:
      - battle-net
      - steam
    status: present
  when: gaming == true

- name: Workstation | Mac OS | Software | Brew | Install Packages (Cycling)
  package:
    name:
      - zwift
    status: present
  when: cycling == true

#- name: Workstation | Mac OS | Software | Brew | Remove Packages
#  package:
#    name:
#    status: present