mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Improved play to install xcode cli tools
This commit is contained in:
@@ -8,6 +8,10 @@
|
|||||||
- xcode_tools
|
- xcode_tools
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Pre-flight checks
|
||||||
|
when: ansible_system != 'Darwin'
|
||||||
|
fail:
|
||||||
|
msg: "Unsupported OS '{{ ansible_system }}'"
|
||||||
- name: Check Command Line Tools are already installed
|
- name: Check Command Line Tools are already installed
|
||||||
check_mode: false
|
check_mode: false
|
||||||
register: cli_tools_check
|
register: cli_tools_check
|
||||||
@@ -47,5 +51,5 @@
|
|||||||
when: headless_cli_tools_installation is failed
|
when: headless_cli_tools_installation is failed
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: >-
|
msg: >-
|
||||||
Command Line Tools are not installed. Please execute
|
Headless installation failed. Please execute
|
||||||
'xcode-select --install' in a terminal and accept the license.
|
'xcode-select --install' in a terminal.
|
||||||
|
|||||||
Reference in New Issue
Block a user