Giter Club home page Giter Club logo

ansible-mac-install's Introduction

Ansible Playbook for Mac install

Build Status

Tested on macOS: 10.14.1 (18B2107)

Disclaimer

This installation is setup for my own usage, and to my needs. Please adapt the configuration. This playbook comes from flemzord, and geerlingguy

Installation

On a fresh macOS installation:

  1. Run xcode-select --install to install minimal tools (git, ...)
  2. Fork, then Clone this repository to your local drive.
  3. Change and adapt to your needs the configuration in config.yml.
  4. Run sh run.sh from your brand new macOS installation.
  5. Don't forget to commit & push your changes for your next installation.

Upgrade

To upgrade your macOS installation:

$ sh files/upgrade.sh

Options

Configure dotfiles

To enable the configuration of dotfiles, and download from your own repository.

configure_dotfiles: yes

configure the following options in config.yml

dotfiles_repo: https://github.com/your/dotfiles_repo.git
dotfiles_repo_accept_hostkey: yes
dotfiles_repo_local_destination: ~/.dotfiles # destination
dotfiles_files: # file to download
  - .gitignore
  - .osx
  - .zshrc
  - .alias.sh
  - .bashrc

Configure sudoers

Register sed and copy sudoers template.

configure_sudoers: yes

Configure osx

configure macOS with .osx file

configure_osx: no

Configure extra

Configure few personal stuffs:

  • Install zsh theme
  • Install zsh plugins
  • Set zsh as defaut shell
  • Install oh-my-zsh
  • Install pure-prompt
  • Set an /etc/hosts entry

configure_extra: yes

Configure dock

Remove and add icons in the dock

configure_dock: yes

ansible-mac-install's People

Contributors

flemzord avatar z0ph avatar

Watchers

 avatar  avatar  avatar

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.