31 lines
913 B
YAML
31 lines
913 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Include prepare tasks
|
|
include: ./lib/prepare.yml
|
|
|
|
- name: Include vars tasks
|
|
include: ./lib/vars.yml
|
|
|
|
# Note(decentral1se): internal debugging. Please `debug: true` in the
|
|
# /var/lib/dokku/data/deploy.d/vars.yml file to activate a debug vars dump
|
|
- name: Include debug tasks
|
|
include: ./lib/debug.yml
|
|
|
|
- name: Include domain tasks
|
|
include: ./lib/domain.yml
|
|
|
|
# Note(decentral1se): in order to iterate through the end-user defined `db`
|
|
# stanza in the config.yml, we need to pass them into the include / block
|
|
# using `with_items` because Ansible decides that is the only way we can do
|
|
# that
|
|
- name: Include database tasks
|
|
no_log: true
|
|
include: ./lib/database.yml
|
|
with_items: "{{ db }}"
|
|
when: db is defined
|
|
|
|
- name: Include env tasks
|
|
include: ./lib/env.yml
|