Giter VIP home page Giter VIP logo

osx-ansible's Introduction

Ansible

Ansible configurations, playbooks and roles for setting up an OSX host.

osx-ansible/playbooks/common.yml shows what roles will be loaded.
To see what any role does, look at osx-ansible/roles/${role}/task/main.yml

Before Running You Should:

cd osx-ansible
cp example.yml local.yml

Or you can just create your own local.yml file with just the variables you'd like to override over varaibles from defaults.yml.
You'll want to do this, as some defaults variables have my info in them.

Installation

Makefile:

make bootstrap
make install

Raw commands:

./bootstrap.sh
ansible-playbook playbooks/common.yml -K

Make targets

  1. base: installs osx_base role
  2. install: runs the bootstrap script
  3. dump_facts: dumps all local facts ansible can find
  4. osx_base: sets up some things (hostname, login shell, create directories, create ssh key, set searchdomains)
  5. dotfiles: installs dotfiles from a repo you provide
  6. homebrew: install packages from homebrew/homebrew cask
  7. mas: connects to the Mac App Store and installs applications from there
  8. github: uploads ssh key to github, clones all my repos from github
  9. defaults: MacOS defaults write commands
  10. vim-plug: sets up vim-plug
  11. wallpaper: sets your wallpaper to a file of your choosing
  12. update: runs update playbook; updates mas, homebrew, hombrew cask, npm, pip packages and ruby gems
  13. complete: runs all of these (minus install) only asking for one sudo password
  14. all: runs all of these, but will ask for sudo password for each role that requires it

osx-ansible's People

Contributors

samoehlert avatar soehlert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

osx-ansible's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.