Skip to content

Commit 43edbd9

Browse files
authored
UnixPB: Fix Linter For Xcode 11 task (adoptium#3259)
* Fix Linter For Block * Linter fix. * Linter fix
1 parent 5046bf5 commit 43edbd9

File tree

1 file changed

+7
-5
lines changed
  • ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks

1 file changed

+7
-5
lines changed

ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
Skipping Xcode installation"
2020
when: not xcode11_installed.stat.exists and apple_variables is not defined
2121

22+
- name: Download XCode 11.7 from Azure blob storage
23+
get_url:
24+
url: "https://ansiblestorageadopt.blob.core.windows.net/xcode11-7/Xcode_11.7.xip?{{ XCode11.7_SAS_TOKEN }}"
25+
dest: /tmp/Xcode_11.7.xip
26+
mode: 0755
27+
when: not xcode11_installed.stat.exists and apple_variables is defined
28+
2229
- name: Install Xcode11.7
2330
when: not xcode11_installed.stat.exists and apple_variables is defined
2431
block:
25-
- name: Download XCode 11.7 from Azure blob storage
26-
get_url:
27-
url: "https://ansiblestorageadopt.blob.core.windows.net/xcode11-7/Xcode_11.7.xip?{{ XCode11.7_SAS_TOKEN }}"
28-
dest: /tmp/Xcode_11.7.xip
29-
mode: 0755
3032

3133
- name: Extract Xcode11.7
3234
shell: xip -x /tmp/Xcode_11.7.xip

0 commit comments

Comments
 (0)