---
- name: "Configure {{ domain }} dedicated domain"
dokku_domains:
app: "{{ app }}"
domains:
- "{{ domain }}"
state: present
when: domain is defined