File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/curl/tasks Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 3131 set_fact :
3232 homebrew_path : /usr/local/bin
3333 when : ansible_distribution == "MacOSX" and ansible_architecture == "x86_64"
34+ tags : curl
3435
3536- name : Set Mac homebrew path (Arm64)
3637 set_fact :
3738 homebrew_path : /opt/homebrew/bin
3839 when : ansible_distribution == "MacOSX" and ansible_architecture == "arm64"
40+ tags : curl
3941
4042- name : Download curl {{ curl_latest }}
4143 get_url :
152154 - " macos_version_number is version('10.13', '>')"
153155 - ((not curl_version.stdout) or ((curl_version.stdout) and (curl_version.stdout is version_compare(curl_oldest, operator='lt', strict=True))))
154156 tags : curl
157+
158+ - name : Install curl via brew on MacOS 14 x64 (regardless if curl is already installed)
159+ become : yes
160+ become_user : " {{ ansible_user }}"
161+ homebrew :
162+ name : curl
163+ state : latest
164+ path : " {{ homebrew_path }}"
165+ when :
166+ - ansible_distribution == "MacOSX"
167+ - ansible_distribution_major_version == "14"
168+ - ansible_architecture == "x86_64"
169+ tags : curl
You can’t perform that action at this time.
0 commit comments