From d88a9d61767718b226078736f298753d311a59d4 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Tue, 16 Dec 2025 13:48:33 -0500 Subject: [PATCH] fix: playbook task already has access to inventory-level variables --- playbooks/init.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/init.yml b/playbooks/init.yml index 68f738f..a6bc2b7 100644 --- a/playbooks/init.yml +++ b/playbooks/init.yml @@ -13,7 +13,7 @@ private_ip: true region: "{{ vps_service.region }}" root_pass: "{{ vps_service.password }}" - tags: "{{ hostvars[inventory_hostname].keywords }}" + tags: "{{ keywords }}" state: "{{ 'present' if vps_service.exists else 'absent' }}" tags: - vps_step