An ansible role that installs OS X Command Line Tools. Releases are hosted on Ansible Galaxy.
None (except running on Mac OS X).
force_install
: Install the Command Line Tools, even if they are already installed (Default: no
).
None.
A simple playbook example:
- hosts: servers
roles:
- { role: elliotweiser.osx-command-line-tools }
- Install VirtualBox (including the VirtualBox Extension Pack)
- Install Vagrant
- Install
virtualenv
:pip install -U virtualenv
If you already have Homebrew installed, you can use:
brew cask install virtualbox
brew cask install virtualbox-extension-pack
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 tests/test-requirements.txt
Run the full lifecycle test on a given <PLATFORM>
. Allowed values for
<PLATFORM>
are sierra
, elcapitan
, and yosemite
.
source molecule/<PLATFORM>.sh
molecule test
Unset the MOLECULE_
environment variables:
source molecule/unset.sh