--- - name: Mail server setup hosts: all become: true roles: - role: mail when: enable_mail | default(true)