Skip to content

Provision your dev env automatically using an Ansible Playbook, oh-my-zsh, fzf, and all your plugins/customizations.

Notifications You must be signed in to change notification settings

lodotek/macos-devenv-ansible-provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacOS Ansible Playbook

This an Ansible Playbook to provision and customize my development environment on OSX.

What does this playbook provide ?

It will :

  • create useful directories.
  • install packages (brew taps, asdf, npm, etc).
  • copy dotfiles which configure various applications (Git, npm, terraform, asdf) into your home dir.
  • copy in some zsh scripts (configurations, helper functions, aliases, etc)

Install Instructions

  • checkout this repository to ~/src/macos-devenv-ansible-provisioner.
  • copy roles/mac-dev-playbook/files/ansible/ansible.cfg to ~/.ansible.cfg
  • Create file inventory @ ~/.ansible/inventory e.g.
[localhost]
yourMacHostName gpg_key=${your-local-gpg-key}
  • then go to ~/src/macos-devenv-ansible-provisioner
  • run ansible-playbook main.yml --diff --verbose --inventory ~/.ansible/inventory --limit $(hostname)

Tips

  • macconfig will open project with code

Manual configurations

Can I use it ?

Use at your own risk, this playbook doesn't aim to be used by anyone else. Please be sure to backup your current ~/.zshrc.rc file before executing this play-book, as it will be overwritten with one from this repository.

asdf : install all plugins at once

cut -d ' ' -f1 .tool-versions | xargs -I _ asdf plugin-add _
asdf install

About

Provision your dev env automatically using an Ansible Playbook, oh-my-zsh, fzf, and all your plugins/customizations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published