--- - name: Ensure Java is installed. apt: "name={{ item }} state=present" with_items: "{{ java_packages }}"