Skip to content

clempat/my-workspace-playbook

 
 

Repository files navigation

Mac Dev Playbook Logo

Mac Development Ansible Playbook

This playbook is a fork from geerlingguy playbook. I changed it for matching my needs, which are using mac and Linux.

Installation

MacOS

  1. Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).

  2. Install Ansible:

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

  4. Run ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles.

  5. Run ansible-playbook main.yml --ask-vault-pass --ask-become-pass inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.

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.

Linux

  1. Install Ansible sudo apt-get update && sudo apt-get install ansible -y
  2. Create a Terminal profile called 'Dracula'
  3. Install requirements: ansible-galaxy install -r requirements.yml
  4. Run ansible-playbook main.yml --ask-vault-pass --ask-become-pass

ARCH

  1. Install ansible sudo pacman -S ansible

More

For more information I would advice going to the original repository.

Author

This project was created by Jeff Geerling (originally inspired by MWGriffin/ansible-playbooks).

About

Mac setup and configuration via Ansible.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 62.3%
  • Jinja 37.7%