--- - name: Install postfix mta block: - name: Install required packages package: name: "{{ item }}" state: present with_items: - postfix - cyrus-sasl-plain - mailx become: True