Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
command: mdfind -onlyin /Applications "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"
register: xcode_app
changed_when: false
check_mode: no

- name: Register xcode_installed
set_fact:
Expand All @@ -12,6 +13,7 @@
register: xcode_app_output
when: xcode_installed
changed_when: false
check_mode: no

- name: Export Installed Xcode version
set_fact:
Expand All @@ -22,6 +24,7 @@
shell: echo -n "{{ xcode_xip_location }}" | cut -d "_" -f 2 | sed s/'.xip'//g
register: xcode_path_parse
changed_when: false
check_mode: no

- name: Export Candidate Xcode version
set_fact:
Expand Down