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