--- - name: Ensure installation of Postfix include_tasks: install.yml when: postfix_only_populate_db == False - name: Ensure scripts are deployed include_tasks: deploy_scripts.yml when: postfix_only_populate_db == False - name: Ensure configuration of Postfix include_tasks: configure.yml when: postfix_only_populate_db == False - name: Ensure configuration of UFW include_tasks: configure_ufw.yml when: - configure_ufw - postfix_only_populate_db == False - name: Ensure configuration of Postfix disclaimer include_tasks: configure_disclaimer.yml when: - postfix_only_populate_db == False - name: Ensure configuration of Postfix database include_tasks: configure_database.yml when: inventory_hostname == ansible_play_hosts[0]