The role to configure user environment.
You should have homebrew
installed.
user_use_oh_my_zsh
-- default istrue
oh_my_zsh_theme
-- default isbira
oh_my_zsh_plugins
-- list of plugins; default is[]
oh_my_zsh_case_sensitive
-- default isfalse
oh_my_zsh_disable_update_prompt
-- default isfalse
oh_my_zsh_disable_auto_update
-- default istrue
oh_my_zsh_update_days
-- default is7
oh_my_zsh_disable_ls_colors
-- default isfalse
oh_my_zsh_disable_auto_title
-- default isfalse
oh_my_zsh_disable_correction
-- default istrue
oh_my_zsh_completion_waiting_dots
-- default isfalse
oh_my_zsh_disable_untracked_files_dirty
-- default istrue
oh_my_zsh_hash_directories
-- list of directories for hashing (ex.projects=~/Projects
); default is[]
oh_my_zsh_aliases
-- list of aliases (ex.zshconfig="vim ~/.zshrc"
); default is[]
user_exports
-- list of custom user exports (ex.PATH="/usr/local/sbin:$PATH"
); default is[]
user_use_pyenv
-- default istrue
git_user_name
-- git global user name; default isAlexander Lebedev
git_user_email
-- git global user email; default islebedev@0x4e3.ru
playbook.yml
:
---
- host: localhost
vars_files:
- vars/user.yml
roles:
- 0x4e3.osx-bootstrap-user
vars/user.yml
---
user_exports:
- PATH="/usr/local/sbin:$PATH"
oh_my_zsh_plugins:
- osx
- man
- colored-man
- brew
oh_my_zsh_hash_directories:
- projects=~/Projects
oh_my_zsh_aliases:
- zshconfig="vim ~/.zshrc"
- zshupdate="source ~/.zshrc"