Adapt to more scoped config

This commit is contained in:
Luke Murphy
2020-04-14 13:02:16 +02:00
parent ddaa516e38
commit 22e15e4b50
11 changed files with 55 additions and 27 deletions

View File

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