summaryrefslogtreecommitdiffstats
path: root/roles/bash
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-24 16:24:28 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-24 16:24:28 +0100
commit6d927c0f20f95dfb1ece8766dfaf34805bc2f820 (patch)
tree7fcc3918e290e31309d74eb0b784fa6a00318ee3 /roles/bash
parentb39722e58c1935f4d92c052cf89c941164150c35 (diff)
Fix ansible_facts to use only bracket notation instead of dot notation
Co-authored-by: claude.ai
Diffstat (limited to 'roles/bash')
-rw-r--r--roles/bash/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/bash/tasks/main.yml b/roles/bash/tasks/main.yml
index fbecafa6..4af7dc40 100644
--- a/roles/bash/tasks/main.yml
+++ b/roles/bash/tasks/main.yml
@@ -14,6 +14,6 @@
modification_time: "preserve"
access_time: "preserve"
loop:
- - "{{ ansible_facts['env'].HOME }}/.bashrc"
- - "{{ ansible_facts['env'].HOME }}/.bash_profile"
- - "{{ ansible_facts['env'].HOME }}/.profile"
+ - "{{ ansible_facts['env']['HOME'] }}/.bashrc"
+ - "{{ ansible_facts['env']['HOME'] }}/.bash_profile"
+ - "{{ ansible_facts['env']['HOME'] }}/.profile"