--- - name: Update and upgrade all packages apt: update_cache: yes upgrade: full - name: Install base CLI packages apt: name: "{{ item }}" state: present with_items: - sudo - wget - curl - zsh - vim - tmux - ruby - git - tig - openssh-server - sshfs - htop - iftop - iotop - glances - ranger - rxvt-unicode-256color - name: Install extra CLI packages apt: name: "{{ item }}" state: present with_items: - moc - newsboat - pass when: not minimal or not server