Skip to content

mongodb-ansible-roles/ansible-role-command-line-tools

Repository files navigation

Ansible role for command-line-tools

Installs a pinned version of command line tools for macos

GitHub Actions GitHub Actions

Requirements

Must be on run on a MacOS system

Role Variables

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

Testing

There are 2 ways of testing this role:

  1. GitHub Actions: GitHub Actions will run Molecule tests on the macos-latest runner that is offered by GitHub.
  2. Locally: Run molecule test will run the default scenario

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-command-line-tools

License

Apache License

About

Installs a pinned version of Command Line Tools for MacOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published