diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-01-24 16:24:28 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-01-24 16:24:28 +0100 |
| commit | ab9b04baac2970fdcea9999e2bcfd7d60d3fc23d (patch) | |
| tree | 7fcc3918e290e31309d74eb0b784fa6a00318ee3 /roles/go | |
| parent | 3cf08783dec1d6c5f9e2a7933e730b054d78e376 (diff) | |
Fix ansible_facts to use only bracket notation instead of dot notation
Co-authored-by: claude.ai
Diffstat (limited to 'roles/go')
| -rw-r--r-- | roles/go/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
