From 5189fdfd939ea48459a28cffb1fb69df5d363a3c Mon Sep 17 00:00:00 2001 From: binary Date: Sun, 8 Nov 2020 21:07:40 +0100 Subject: Refactor inventory content --- playbooks/debug.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'playbooks') 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] -- cgit v1.2.3