---
- name: "Ensure {{ app_name }} is installed"
  pip:
    name: mackup
  when: ansible_system == 'Linux'

- name: Run generic tasks
  include_tasks: config-Linux.yml
  loop: "{{ user_configs }}"
  loop_control:
    label: "{{ user.username }}"
    loop_var: user
  when: (user.system is not defined) or ((user.system is defined) and (not user.system))
