diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-02 20:01:04 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-02 21:16:01 +0200 |
| commit | ef64f48a1fdac5a8ad1580991048c1e5d7932f0f (patch) | |
| tree | 594047268af50dc908b852f8ae0852ca9737e8a0 /roles/homebrew | |
| parent | bcfbf44b501281ba9db8c6cfb0da08c169c770aa (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')
| -rw-r--r-- | roles/homebrew/tasks/main.yml | 22 |
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)" |
