Install and configure Oh My Zsh for multiple users
This role is a part of my OPS project, follow this link to see it in action. OPS provides a lot of stuff, like a vagrant file for development VMs, playbooks for roles orchestration, inventory files, examples for roles configuration, ansible configuration file, and many more.
Tested and approved on :
- Debian jessie (8+)
- Ubuntu Trusty (14.04 LTS)
- Ubuntu Xenial (16.04 LTS)
Need zsh to be installed first
# Choose user who you want to install oh my zsh for
ohmyzsh_users:
- username: ops
usergroup: admin
home: /home/ops
- username: root
usergroup: root
home: /root
ohmyzsh_plugins: git colored-man-page colorize extract history npm symfony2 httpie zsh-syntax-highlighting
- hosts: servers
roles:
- { role: jebovic.ohmyzsh }
# Configure oh-my-zsh for your user
ohmyzsh_users:
- username: me
usergroup: me
home: /home/me
ohmyzsh_plugins: git colored-man-page colorize extract history zsh-syntax-highlighting
- ohmyzsh_config : only update config
MIT
Jérémy Baumgarth https://github.com/jebovic