An open API service indexing awesome lists of open source software.

https://github.com/bennylope/macbook-configuration

Ansible playbooks for managing Mac workstation configuration
https://github.com/bennylope/macbook-configuration

ansible ansible-playbooks macbook-configuration

Last synced: about 1 year ago
JSON representation

Ansible playbooks for managing Mac workstation configuration

Awesome Lists containing this project

README

          

# Personal computer configuration.

This is my personal MacBook configuration. There are many like it, but
this one is mine.

For that reason it's largely set up for my particular needs. If you want
to use it yourself I'd recommend reading through it first. Remove as
much as possible and build up, making changes as you go, so it fits your
needs.

### Set up

Run the bootstrap script. This will ensure gcc,
[Homebrew](http://brew.sh/), and [Ansible](http://docs.ansible.com/) are
installed:

$ ./bootstrap.sh

After installing the prerequisites this will run the `local` playbook
for the first time. The script `configure` is now in `/usr/local/bin`
and you can just execute that script:

$ configure

It's a shortcut to this command, as it would be run from the
configuration directory:

$ ansible-playbook install.yml -K

The `-K` flag means that Ansible will prompt you for your sudo password
before it executes the playbook.

If it's your first time, go brew some coffee or tea because this will
take some time building packages.

### Why?

When planning to replace my previous computer I wanted to make sure I
could replicate the environment. More specifically, only the aspects of
the previous environment that I wanted to keep.

GitHub's Boxen looked great but overkill, and I wanted to learn Ansible,
so here we are.

### Credits

The original inspiration was Michael Griffin's
[ansible-playbooks](https://github.com/MWGriffin/ansible-playbooks)
repository. That collection is far more complete.

I later borrowed some bootstrap scripting from Daniel Jaouen's
blog post, [How I Fully Automated OS X Provisioning With
Ansible](http://il.luminat.us/2014/04/19/how-i-fully-automated-os-x-with-ansible.html).

### License

This work is in the public domain.