---
## pc applications
- name: general host setup
  when: ("personal_computers" in group_names)
  include_role:
    name: "{{ item }}"
  loop:
    - persona-administrator
    - driver-non-free

- name: pc-office
  when: ("collection_officetools" in group_names)
  include_role:
    name: "{{ item }}"
  loop:
    - pc-office
    - pc-jrnl


- name: personal computer for business
  when: ("business_personal_computer" in group_names)
  include_role:
    name: pc-gnucash

- name: pc-designer-tools
  when: ("collection_designer" in group_names)
  include_role:
    name: pc-designer-tools

- name: pc-qbittorrent
  when: ("collection_torrent" in group_names)
  include_role:
    name: pc-qbittorrent

- name: pc-streaming-tools
  when: ("collection_streamer" in group_names)
  include_role:
    name: pc-streaming-tools

- name: pc-bluray-player-tools
  when: ("collection_bluray_player" in group_names)
  include_role:
    name: pc-bluray-player-tools

- name: pc-latex
  when: ("latex" in group_names)
  include_role:
    name: pc-latex

- name: GNOME setup
  when: ("gnome" in group_names)
  include_role:
    name: client-gnome

- name: setup ssh client
  when: ("ssh-client" in group_names)
  include_role:
    name: client-ssh

- name: setup gaming hosts
  when: ("gaming" in group_names)
  include_role:
    name: persona-gamer

- name: setup entertainment hosts
  when: ("entertainment" in group_names)
  include_role:
    name: client-spotify

- name: setup torbrowser hosts
  when: ("torbrowser" in group_names)
  include_role:
    name: pc-torbrowser

- name: setup nextcloud-client
  when: ("nextcloud_client" in group_names)
  include_role:
    name: client-nextcloud

- name: setup docker
  when: ("docker" in group_names)
  include_role:
    name: pc-docker

# driver 
- name: setup msi rgb keyboard
  when: ("msi_perkeyrgb" in group_names)
  include_role:
    name: driver-msi-keyboard-color