Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtchavez/mac-ansible
Personal mac setup provisioned through Ansible
https://github.com/mtchavez/mac-ansible
ansible macos provision
Last synced: 17 days ago
JSON representation
Personal mac setup provisioned through Ansible
- Host: GitHub
- URL: https://github.com/mtchavez/mac-ansible
- Owner: mtchavez
- License: mit
- Created: 2014-09-23T23:01:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T15:24:09.000Z (about 2 years ago)
- Last Synced: 2023-03-17T04:45:31.710Z (almost 2 years ago)
- Topics: ansible, macos, provision
- Language: Shell
- Size: 351 KB
- Stars: 45
- Watchers: 3
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# mac-ansible
Personal mac setup provisioned through Ansible
## Requirements
* Latest Xcode
* Pip (installed in setup script if missing)
* Ansible (installed in setup script if missing)
* Homebrew (installed in setup script if missing)## Installation
- Clone repository
- Run `make` to bootstrap the dependencies needed
- Run `./script/provision mac-osx.yml`
- Any args to script are passed to the `ansible-playbook` command
- E.g. running only tasks tagged with `brew` `./script/provision mac-osx.yml --tags brew`The `mac-osx.yml` playbook is then ran to provision everything.
## Roles
Some roles are tied directly to my personal setup. If you are using this you could
remove these roles from the `mac-osx.yml` playbook or override variables to get
your own personal setup.### Vimfiles
Currently this role pulls my vimfiles repository and runs an install command. You
could override specific variables here to point to your own vim repo and run a
different install command to get your own setup.### Dotfiles
Same thing here as with the vimfiles role. It will pull from a repository and run
an install command to setup any dotfiles or profile specific files.## Caveats
- Uses homebrew installed python, setup with bootstrap script, to run ansible commands.