We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 268ae44 + f572ac0 commit 07448caCopy full SHA for 07448ca
tasks/Darwin.yml
@@ -1,17 +1,13 @@
1
---
2
- name: Ensure Homebrew packages are linked to system PATH
3
- ansible.builtin.command:
4
- cmd: brew link {{ package }}
5
- environment:
6
- PATH: "/usr/local/bin:/opt/homebrew/bin:{{ ansible_env.PATH }}"
+ community.general.homebrew:
+ name: "{{ package }}"
+ state: linked
7
loop:
8
- jfrog-cli
9
- xcodes
10
loop_control:
11
loop_var: package
12
- register: link_package
13
- changed_when: '"symlinks created." in link_package.stdout'
14
- failed_when: link_package.rc != 0
15
16
- name: Check for existing Xcode versions # noqa: no-changed-when
17
ansible.builtin.command:
0 commit comments