aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-08 21:07:40 +0100
committerbinary <me@rgoncalves.se>2020-11-08 21:07:40 +0100
commit5189fdfd939ea48459a28cffb1fb69df5d363a3c (patch)
treec0608a21638488de7d175c0b8b444f5ba48d9779 /playbooks
parentaf93e33875b4d5ed2199fbd9c75f71d4cb17ce58 (diff)
downloadinfrastructure-5189fdfd939ea48459a28cffb1fb69df5d363a3c.tar.gz
Refactor inventory content
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/debug.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/playbooks/debug.yml b/playbooks/debug.yml
index 432e317..c87d8aa 100644
--- a/playbooks/debug.yml
+++ b/playbooks/debug.yml
@@ -3,10 +3,6 @@
- name: Debug
hosts: all
tasks:
- - name: A
- debug:
- var: ansible_facts["distribution"] | lower
- - name: G
- debug:
- var: groups["all"]
+ - debug:
+ var: hostvars[ansible_host]
remember that computers suck.