ansible-osx-command-line-tools

Ansible Role: osx-command-line-tools

Build Status MIT licensed Galaxy Role

An ansible role that installs OS X Command Line Tools. Releases are hosted on Ansible Galaxy.

Requirements

None (except running on Mac OS X).

Role Variables

force_install: Install the Command Line Tools, even if they are already installed (Default: no).

Dependencies

None.

Example Playbook

A simple playbook example:

- hosts: servers
  roles:
     - { role: elliotweiser.osx-command-line-tools }

Testing Instructions

  1. Install Virtualbox
  2. Install Vagrant
  3. Install virtualenv: pip install -U virtualenv

If you already have Homebrew installed, you can use:

brew cask install virtualbox
brew cask install vagrant

Now you can setup your virtual environment for testing:

virtualenv --python=$(which python2.7) .venv
source .venv/bin/activate
pip install --no-deps -r test-requirements.txt

Run the full test suite against the default platform. The default platform is sierra:

molecule test

Run the full test suite on a different platform:

molecule test --platform yosemite

License

MIT

Author Information

Elliot Weiser

Install
ansible-galaxy install RotsiserMho/ansible-osx-command-line-tools
GitHub repository
License
mit
Downloads
30