edit | blame | history | raw

ansible-role-zsh

Build Status

Ansible role to install zsh and Oh My ZSH.

Requirements

None.

Role Variables

Available variables are listed below, along with default values:

zsh_users:
  - "{{ ansible_user }}"
zsh_ohmy_theme: pygmalion
zsh_ohmy_plugins:
  - git
  - git-flow
  - docker
zsh_ohmy_auto_update: true

Dependencies

None.

Example Playbook

Install zsh and oh-my-zsh with default settings:

- hosts: server
  roles:
     - vaulttec.zsh

Install zsh and oh-my-zsh with random theme and different plugins:

- hosts: desktop
  roles:
     - { role: vaulttec.zsh, zsh_ohmy_theme: random, zsh_ohmy_plugins: [git, git-extras] }

Testing

cd tests && vagrant up

License

MIT