Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gcporras/OSX-Provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSX-Provisioner

Repository for provisioning my osx machine. To install from scratch, run the command:

source bootstrap.sh install

If Xcode Command Line Tools and Ansible are already installed, you can run the command:

ansible-playbook site.yml -i hosts --tags "<tag_names>"

List of tags:

  • debug: For debugging purposes.
  • homebrew: Install homebrew and the list of brews provided.

####Variable precedence Variable definition structure was made following the ansible documentation about the subject, please refer to this in case of doubt.

As a user of OSX-Provider you will only need to define variables in the custom_vars folder files as you will see in the following sections.

####Installing your own applications a.k.a casks: Inside the custom_vars directory, create a file named casks.yml and define your caks inside the casks variable. See the file casks.yml.example.

####Tests: To run bootstrap tests (shunit2 is required):

Zsh

zsh -o shwordsplit -- test_bootstrap.sh

Bash

source test_bootstrap.sh

Note: To know if you terminal is bash or zsh. Use echo $0

To do:

  • Script to install ansible pre-requirements.
  • Install homebrew
  • Brew - playbook who reads from base yml and custom yml (not commited for privacy).
  • Brew-cask integration.
  • Modify alfred scope to include caskroom.
  • Set zsh as default shell and use my fork of prezto.
  • Dotfiles integration.

About

Tool to provision your mac from scratch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages