GithubHelp home page GithubHelp logo

mac-ansible's Introduction

mac-ansible

I use this project to configure my macOS the way I like it. That way I can wipe and re-install with less effort. See my blog post.

Getting Started

  1. Install homebrew with the command from the site
  2. brew install pyenv
  3. pyenv install <latest_python_version> (Check playbook up to date)
  4. Make sure pyenv's python on path (it will be after my shell settings are in place from playbook)
  5. python -m venv venv
  6. source venv/bin/activate
  7. pip install ansible (always the best way to install Ansible)
  8. Then ./playbook.yml

Fork! Copy! Adapt!

This is distributed under the Unlicense so you can do whatever you want with it, see LICENSE.

mac-ansible's People

Contributors

adamchainz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mac-ansible's Issues

Allow Graceful Failure When Plist Key Does Not Exist

Thanks very much for this work, it is excellent.

Right now using the iTerm2 settings setup doesn't quite work.

This is because the Ansible extension tries to read the setting before it makes any unneccessary changes using defaults read - perfectly sensible. However in the case of trying to set up PrefsCustomFolder in com.googlecode.iterm2 for the first time because this key doesn't exist then it fails.

Under the hood:

jacques:mac-ansible alex$ defaults read com.googlecode.iterm2 PrefsCustomFolder
2018-12-30 08:40:08.253 defaults[25584:599521]
The domain/default pair of (com.googlecode.iterm2, PrefsCustomFolder) does not exist

Work around for the moment: write PrefsCustomFolder manually for the first run through.

Unclear to me what the correct first run behaviour should be: I guess it should be set the key and value in this case without further checks? However this might result in error in writing keys and values that don't exist and are wrongly spelt and so on. Happy to fix this with a quick steer.

Public password oops

I just want to point out that there is a password public to the world in this file, hopefully it's not your actual one, but just in case you missed it...

mac-ansible/roles/adam_mac/files/dotfiles/pypirc

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.