Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tubone24/mac-auto-setup
Automation Environment setup tool for Mac using by Ansible provisioning and Serverspec checks.
https://github.com/tubone24/mac-auto-setup
ansible homebrew macosx serverspec standard-readme
Last synced: about 1 month ago
JSON representation
Automation Environment setup tool for Mac using by Ansible provisioning and Serverspec checks.
- Host: GitHub
- URL: https://github.com/tubone24/mac-auto-setup
- Owner: tubone24
- License: mit
- Created: 2019-10-05T07:14:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T18:00:00.000Z (about 1 year ago)
- Last Synced: 2024-04-13T04:55:37.717Z (10 months ago)
- Topics: ansible, homebrew, macosx, serverspec, standard-readme
- Language: Ruby
- Homepage:
- Size: 1.94 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mac Automation Environment Setup Tool
[![license](https://img.shields.io/github/license/tubone24/mac-auto-setup.svg)](LICENSE)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![Build Status](https://dev.azure.com/meitantei-conan/mac-auto-setup/_apis/build/status/tubone24.mac-auto-setup?branchName=master)](https://dev.azure.com/meitantei-conan/mac-auto-setup/_build/latest?definitionId=2&branchName=master)![header](docs/images/header.png)
> Automation Env Setup tool for Mac
Automation Environment setup tool for Mac using by Ansible provisioning and Serverspec checks.
## Table of Contents
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [License](#license)## Background
One day, every time I replaced my PC, I was getting tired of building my own familiar and useful PC environment.
So that, I created an automatic environment setup tool for Mac with Ansible.
## Install
### System Requirements
- XCode
- Homebrew
- Ansible
- Ruby `v2.4.0 and more`### Preconditions
This tool used by Homebrew, Ansible and Serverspec.
So, Install those apps before run this tool.
#### Install XCode and Homebrew
```
# Install XCode
$ xcode-select --install# Install Homebrew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"# Homebrew doctor: If error, Search by Google!
$ brew doctor
```#### Install Ansible
```
# Install Ansible
$ brew install ansible
```#### Git User Config
And also, Set `Git config` with 2 files.
- Your name: git user name with commits
- Your Email: git user email with commitsansible/mac/roles/dev-tools/vars/main.yml
```
---
git:
name: "Your name"
mail: "Your Email"
```serverspec/mac/variables.yml
```
git_conf:
- Your name
- Your Email
```## Usage
```
# Setup your Mac with Ansible
make setup TARGET=mac# Check your Mac with Serverspec
make before-check TARGET=mac
make check TARGET=mac
```## CI
This repo is integrated with [Azure Develop Pipeline](https://dev.azure.com/meitantei-conan/mac-auto-setup/_build?definitionId=2&_a=summary).
Run the Ansible playbook and the Serverspec on MacOSX Mojave.
The badge below shows **Build Status**.
[![Build Status](https://dev.azure.com/meitantei-conan/mac-auto-setup/_apis/build/status/tubone24.mac-auto-setup?branchName=master)](https://dev.azure.com/meitantei-conan/mac-auto-setup/_build/latest?definitionId=2&branchName=master)
## Technically Tips
### Ansible
Server provisioning automation tool. The image used in SSH is strong, but there is also a function called `local Exec`.
It also supports Mac Homebrew.
### Serverspec
Server automated test tools using by Ruby run a pre-prepared test script to check if the server is configured to meet the desired requirements.
You can check the command output and installation status.
## License
[MIT © tubone24](LICENSE)
## Install Apps
- Alfred
- asdf-vm
- AppCleaner
- Google Chrome
- Dash(now not implement because of SSL Error)
- Docker
- Drone-CLI
- Microsoft Visual Studio Code
- Neovim
- CotEditor
- Elixir(via asdf-vm)
- Erlang(via asdf-vm)
- ffmpeg
- Flutter
- Ricty
- Git
- Go(via Goenv)
- Google日本語入力
- Gradle
- The Unarchiver
- IntellJ
- iTerm2
- Lua
- Nim
- Node.js(via nodenv)
- Postman
- Python(via Pyenv, virtual-env)
- R
- Ruby(via Rbenv)
- Rust
- Slack
- Terraform(via Tfenv)
- VirtualBox(Vagrant)
- AWS-CLI
- AWS-EB-CLI
- Packer
- jq
- zsh
- tmux
- peco
- wget
- zplug
- coreutils
- tree
- q
- htop
- editorconfig
- figret
- nmap
- mycli
- The Silver Searcher(ag)
- TCP Trace Route