Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Automated setup for Mac with ansible

Notifications You must be signed in to change notification settings

redkubes/mac-devops-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 DevOps Mac OS automated setup

This ansible playbook install and setup most of softwares and utilities for my DevOps environment.

🚥 Installation

First of all clone or download this repository on your mac.

🚀 Usage

Just run the following command at the root of this project and enter your account password when prompted.

ansible-playbook setup-my-mac.yml -i inventory -K

You can customize setup editing config.yml config file.

✨What this playbook do

The complete list of softwares installed is in config.yml , but in summary here what the playbook do.

  • Install homebrew and cask and install applications, utilities and quick look plugins.

    Docker, Vagrant, slack, 1password, postman,...

  • Clone my dotfile from github repository.

  • Configure terminal

    Install iTerm2 (Solarized Dark theme, font-inconsolata) Install Zsh and configure options with oh-my-zsh

  • Configure Mac OS

    Show icons for hard drives, servers, and removable media on the desktop Avoid creating .DS_Store files on network volumes Finder: show status bar Save screenshots in PNG format Save screenshots to the Desktop/Screenshots folder

Using Tags

Tags in Ansible are a powerful feature that allow you to control the execution of your playbook at a granular level. By using tags, you can choose to run only the tasks or roles associated with certain tags.

For example, if you want to run only the tasks that set up Go packages, you can use the setup_gopackages tag. Here's how you can do this:

ansible-playbook setup-my-mac.yml --tags setup_gopackages -K

Improvements

Configure iTerm2 Profile with Solarized theme. Add config for sync settings VScode and Brave Configure VPN

Testing the Playbook

Use Mac virtualbox https://github.com/geerlingguy/macos-virtualbox-vm

See also

About

Automated setup for Mac with ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%