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

- name: persona-employee
  when: ("collection_officetools" in group_names)
  include_role:
    name: "{{ item }}"
  loop:
    - persona-employee
    - client-jrnl


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

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

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

- name: persona-streamer
  when: ("collection_streamer" in group_names)
  include_role:
    name: persona-streamer

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

- 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: client-torbrowser

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

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

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