ansible-osx-command-line-tools
Ansible Role: osx-command-line-tools
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
- Install Virtualbox
- Install Vagrant
- 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
Author Information
About
Installs OS X Command Line Tools
Install
ansible-galaxy install RotsiserMho/ansible-osx-command-line-tools
License
mit
Downloads
33
Owner