Skip to content

aszwajkowski/mac-setup-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Macintosh Setup Playbook

Initialization

Option 1) Script

  1. Run ./initialize.sh script in the terminal
    ./initialize.sh

Option 2) Step-by-step manual commands

  1. Ensure Apple's Command Line Tools are installed

    xcode-select --install
  2. Install Ansible

    1. Add Python 3 to PATH
    export PATH="$HOME/Library/Python/3.9/bin:/opt/homebrew/bin:$PATH"
    1. Upgrade Pip
    sudo pip3 install --upgrade pip
    1. Install Ansible
    pip3 install ansible
  3. Clone or download this repository to your local drive

    git clone https://github.com/aszwajkowski/mac-setup-playbook.git
  4. Install required Ansible roles

    cd mac-setup-playbook
    ansible-galaxy install -r requirements.yml
  5. Install all tasks from the playbook (add --check --diff at the end for dry-run). Enter your macOS account password when prompted for the 'BECOME' password

    ansible-playbook main.yml --ask-become-pass

Note
If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run brew doctor to see if this is the case.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages