Implement standard debugging technique

This commit is contained in:
Luke Murphy 2020-04-14 13:53:32 +02:00
parent 651c2a2888
commit dea210e653
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 8 additions and 4 deletions

View File

@ -58,3 +58,11 @@
mariadb_user: "mariadb",
hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}",
}
- name: Debug variable dictionaries
debug:
msg: "{{ item }}"
with_items:
- "{{ config }}"
- "{{ dokku }}"
when: debug is defined and debug == true

View File

@ -1,8 +1,4 @@
---
- name: DEBUG
debug:
msg: "{{ config }}"
- name: Set HTTP 80 port proxy
dokku_ports:
app: "{{ dokku.app }}"