- name: install packages
  apt:
    pkg={{ item }}
    state=installed
    update_cache=true
    cache_valid_time=86400
  with_items:
    - bash-completion
    - build-essential
    - calibre
    - curl
    - dnsutils
    - ftp
    - git
    - vim
    - wget

- name: install packages
  apt:
    pkg={{ item }}
    state=installed
    update_cache=true
    cache_valid_time=86400
  with_items:
    - bash-completion
    - build-essential
    - calibre
    - curl
    - dnsutils
    - ftp
    - git
    - vim
    - wget
    - p7zip-full

Add p7zip to the list of packages to install in the media server
Add p7zip to the list of packages to install in the media server
