Skip to content

freckles-io-external/ansible-osx-command-line-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (including the VirtualBox Extension Pack)
  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 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

License

MIT

Author Information

Elliot Weiser

About

An Ansible role for installing OS X Command Line Tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 64.5%
  • Shell 35.5%