--- - name: Set the java_packages variable (Debian). set_fact: java_packages: - openjdk-11-jdk when: ansible_os_family == 'Debian'