Skip to content
ansible for Mac Homebrew、application install & homedirectory.
Vim script Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
group_vars
roles
scripts
README.md
ansible.cfg
hosts
mac.yml

README.md

スクリーンショット 2019-07-12 8 59 47

Used

Homebrew、application install & homedirectory

please my blog

https://blog.adachin.me/wordpress/archives/5040

My Environment

・nvim/dein.vim
・zsh
・tmux/powerline
・peco/ghq (control + h(history),j(ssh)/repo

2018-09-20 23 37 48

How to

1.fork run first.sh

Fork!!!!
$ ./scripts/first.sh

2.roles/homedirectory/files/

Please put it in the above directory such as .vimrc managed in the home directory and manage it.

3.group_vars/all

Insert the package you want to install with pip,homebrew,homebrew-tap,homebrew-cask,homedirectory

4.dry-run

$ ansible-playbook -i hosts mac.yml -KD -C

5.run

$ ansible-playbook -i hosts mac.yml -KD

6.reboot Mac

😎

tag run

  • homebrew
$ ansible-playbook -i hosts mac.yml --tags homebrew -KD

  • homebrew-cask
$ ansible-playbook -i hosts mac.yml --tags homebrew-cask -KD

  • homedirectory
$ ansible-playbook -i hosts mac.yml --tags homedirectory -KD

You can’t perform that action at this time.