Closed tommeier closed 3 years ago
Hi, looks like the command lines tool check is failing at the moment:
TASK [elliotweiser.osx-command-line-tools : Check for Command Line Tools in Software Update list (MacOS >= 10.15).] ************************************************************ fatal: [a.b.com.au]: FAILED! => {"changed": false, "cmd": "set -o pipefail; softwareupdate -l | grep -B 1 -E 'Command Line Tools' | awk -F'*' '/^\\*/ {print $2}' | sed 's/^ Label: //' | grep -iE '[0-9|.]' | sort | tail -n1\n", "delta": "0:00:06.299439", "end": "2021-04-27 20:44:09.861464", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2021-04-27 20:44:03.562025", "stderr": "No new software available.", "stderr_lines": ["No new software available."], "stdout": "", "stdout_lines": []}
This is on a mac mini, happening on a variety, all recently updated:
ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H1030
Command now returns an exit status of 1 even though the result is 'No new software available':
Fixed over here: https://github.com/elliotweiser/ansible-osx-command-line-tools/pull/66
Hi, looks like the command lines tool check is failing at the moment:
This is on a mac mini, happening on a variety, all recently updated:
Command now returns an exit status of 1 even though the result is 'No new software available':