Installs a pinned version of command line tools for macos
Must be on run on a MacOS system
Name | Description | Type | Default | Required |
---|---|---|---|---|
command_line_tools_dest | Where to download the Command Line Tools dmg | string | /var/root/osx-command-line-tools.dmg | false |
command_line_tools_force_install | Whether to replace any currently installed Command Line Tools | boolean | false | false |
command_line_tools_mount_path | Where to mount the Command Line Tools dmg | string | /Volumes/osx-command-line-tools | false |
command_line_tools_url | Url to download the Command Line Tools dmg from | string | {{ command_line_tools_version_urls[macos_full_version] }} | false |
There are 2 ways of testing this role:
- GitHub Actions: GitHub Actions will run Molecule tests on the
macos-latest
runner that is offered by GitHub. - Locally: Run
molecule test
will run the default scenario
- hosts: all
roles:
- role: ansible-role-command-line-tools