vaulttec.zsh
ansible-role-zsh
================
This is an Ansible role designed to install zsh and Oh My ZSH.
Requirements
No special requirements.
Role Variables
Here are the variables you can use, along with their default values:
zsh_user:
- "{{ ansible_ssh_user }}"
zsh_debug_startup_time: false
zsh_ohmy_theme: pygmalion
zsh_ohmy_custom_plugins:
- name: zsh-syntax-highlighting
repo: "git://github.com/zsh-users/zsh-syntax-highlighting.git"
- name: zsh-autosuggestions
repo: "git://github.com/zsh-users/zsh-autosuggestions.git"
zsh_ohmy_plugins:
- git
- git-flow
- docker
- zsh-syntax-highlighting
- zsh-autosuggestions
zsh_ohmy_disable_auto_update: true
Dependencies
There are no dependencies.
Example Playbook
To install zsh and Oh My ZSH with the default settings:
- hosts: server
roles:
- vaulttec.zsh
To install zsh and Oh My ZSH with a random theme and different plugins:
- hosts: desktop
roles:
- { role: vaulttec.zsh, zsh_ohmy_theme: random, zsh_ohmy_plugins: [git, git-extras] }
Testing
You can test it by running:
cd tests && vagrant up
License
MIT