---
- name: Install necessary packages via apt
  apt:
    name: "{{ packages }}"
  vars:
    packages:
    - aptitude
    - python3-pip
    - apparmor
    - haveged
    - mosh
    - srvadmin-all # Dell OpenManage

- name: Install necessary packages via pip
  pip:
    name: "{{ packages }}"
  vars:
    packages:
      - docker
      - docker-compose