Skip to content

emmanuelstroem/ansible-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-macos

Provision macOS environment using Ansible

Pre-Requisites

This is required to run our playbooks

pip3 install ansible

Remote Login

Enable Remote login on your macOS since this Ansible setup uses SSH for local provisioning.

Steps

  1. Clone this repo:

    git clone https://github.com/emmanuelstroem/ansible-macos
  2. Go into the cloned directory

    cd ansible-macos
  3. Update the local_user variable in hosts.yaml

  4. Update github dotfiles_repo in dotfile config

  5. Upate the packages you want to be installed in the various package manager configs

  6. Run ansible and enter your local machine password at the prompt:

    ansible-playbook macbook.yaml -i hosts.yaml --ask-become-pass

Note ⚠️:

  • Feel free to comment out any tasks/roles that you might not need.
  • This repo assumes that you have public dotfiles repo

Author

This project was created by Me highly inspired by Jeff Geerling

About

Provision macOS environment using Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published