Ensure command-line tools (or xcode) are installed on OS X?

23 views
Skip to first unread message

Bret Comnes

unread,
Jan 9, 2015, 1:23:41 AM1/9/15
to ansible...@googlegroups.com
I was wondering what the best way to ensure that the apple command-line tools (or xcode) are installed on a OS X host.  Does anyone know of a good way or of a pattern to ensure that this is the case with ansible?

Baraa Basata

unread,
Jan 11, 2015, 7:10:11 PM1/11/15
to ansible...@googlegroups.com
I check the exit code of running "xcodebuild --help". I don't have an Ansible example to offer, but I hope this helps.

-Baraa
Reply all
Reply to author
Forward
0 new messages