---
- name: Include variables based on the operating system
  include_vars: "{{ ansible_os_family }}.yml"
  when: ansible_system == 'Linux'

# @action Ensures Lollypop is installed
# Installs Lollypop on Archlinux, CentOS, Debian, Fedora and Ubuntu
- name: Include tasks based on the operating system
  become: true
  block:
    - include_tasks: "install-{{ ansible_os_family }}.yml"
  when: ansible_system == 'Linux'
