aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-02 13:21:16 +0100
committerbinary <me@rgoncalves.se>2020-11-02 13:21:16 +0100
commitf4427c698aa1e3de08aa16b662283f3f1c20ed1f (patch)
treefdf6a636c3b202c0e0753e137a180cadc99a1a22
parent67c0e448276e46fafd47db73dfc0031786a18dc0 (diff)
downloadinfrastructure-f4427c698aa1e3de08aa16b662283f3f1c20ed1f.tar.gz
New playbook for debugging host vars
-rw-r--r--debug.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/debug.yml b/debug.yml
new file mode 100644
index 0000000..05c4270
--- /dev/null
+++ b/debug.yml
@@ -0,0 +1,9 @@
+
+# debug.yml
+
+- name: Debug all variables
+ hosts: servers
+ tasks:
+
+ - debug:
+ var: hostvars[inventory_hostname]
remember that computers suck.