summaryrefslogtreecommitdiffstats
path: root/roles/homebrew/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-02 20:01:04 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-02 21:16:01 +0200
commitef64f48a1fdac5a8ad1580991048c1e5d7932f0f (patch)
tree594047268af50dc908b852f8ae0852ca9737e8a0 /roles/homebrew/tasks
parentbcfbf44b501281ba9db8c6cfb0da08c169c770aa (diff)
Fix homebrew to use commands instead of module to avoid issue with arch
Plus it's cleaner to see what gets installed instead of depending on the module
Diffstat (limited to 'roles/homebrew/tasks')
-rw-r--r--roles/homebrew/tasks/main.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/roles/homebrew/tasks/main.yml b/roles/homebrew/tasks/main.yml
index 7dc273be..ce5932a5 100644
--- a/roles/homebrew/tasks/main.yml
+++ b/roles/homebrew/tasks/main.yml
@@ -40,14 +40,14 @@
environment:
NONINTERACTIVE: "1"
- - name: "Add homebrew to shell profile"
- ansible.builtin.blockinfile:
- path: "{{ ansible_env.HOME }}/.bashrc"
- state: "present"
- prepend_newline: true
- append_newline: true
- marker: "# ==== {mark} ANSIBLE HOMEBREW CONFIG"
- create: true
- mode: "0644"
- block: |
- eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+- name: "Add homebrew to shell profile"
+ ansible.builtin.blockinfile:
+ path: "{{ ansible_env.HOME }}/.bashrc"
+ state: "present"
+ prepend_newline: true
+ append_newline: true
+ marker: "# ==== {mark} ANSIBLE HOMEBREW CONFIG"
+ create: true
+ mode: "0644"
+ block: |
+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"