From a0ee2f060e18ec0f1184f9c180b7d5028e1aa948 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 11:55:32 +0200 Subject: [PATCH] Allow internal debugging --- plays/commonlib/vars.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plays/commonlib/vars.yml b/plays/commonlib/vars.yml index 60be97f..26aafe4 100644 --- a/plays/commonlib/vars.yml +++ b/plays/commonlib/vars.yml @@ -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