From ef64f48a1fdac5a8ad1580991048c1e5d7932f0f Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 2 Sep 2025 20:01:04 +0200 Subject: 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 --- roles/homebrew/tasks/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'roles/homebrew') 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)" -- cgit v1.2.3