Implement standard debugging technique

This commit is contained in:
Luke Murphy
2020-04-14 13:53:32 +02:00
parent 651c2a2888
commit dea210e653
2 changed files with 8 additions and 4 deletions
+8
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
-4
View File
@@ -1,8 +1,4 @@
---
- name: DEBUG
debug:
msg: "{{ config }}"
- name: Set HTTP 80 port proxy
dokku_ports:
app: "{{ dokku.app }}"