--- - name: Install useful packages for servers if Debian-based apt: pkg: - whois - curl - nmap - traceroute - zsh - vim - git - net-tools - wget - apt-transport-https - earlyoom - gpg - gpg-agent - htop #- duf #currently not in Debian stable, change when it is - at - pwgen state: present update_cache: true become: true when: ansible_os_family == 'Debian'