Allow internal debugging

This commit is contained in:
Luke Murphy 2020-04-15 11:55:32 +02:00
parent ea8fbecb15
commit a0ee2f060e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@
host: "{{ inventory_hostname }}",
}
- name: DEBUG -> vars dump for debugging purposes
debug:
msg: "{{ vars }}"
when: "{{ vars_debug_mode | default(false) }}"
# Note(decentral1se): this has to be done like this through the hostvars
# interface because of the way Ansible forces us to work here. There is a bug
# report out on this: https://github.com/ansible/ansible/issues/36024