From ab9b04baac2970fdcea9999e2bcfd7d60d3fc23d Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Sat, 24 Jan 2026 16:24:28 +0100 Subject: Fix ansible_facts to use only bracket notation instead of dot notation Co-authored-by: claude.ai --- roles/go/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/go') diff --git a/roles/go/tasks/main.yml b/roles/go/tasks/main.yml index 06f4308f..93ec8a3a 100644 --- a/roles/go/tasks/main.yml +++ b/roles/go/tasks/main.yml @@ -29,7 +29,7 @@ - name: "Add Go to shell profile" ansible.builtin.blockinfile: - path: "{{ ansible_facts['env'].HOME }}/.bashrc" + path: "{{ ansible_facts['env']['HOME'] }}/.bashrc" state: "present" prepend_newline: true append_newline: true -- cgit v1.2.3