Skip to content
This role only serve the purpose of installing Oh-My-Zsh on a Linux host.
YAML
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.
defaults
tasks
tests
.gitattributes
.travis.yml
LICENSE
README.md

README.md

Build Status

ohmyzsh

A simple role for installing Oh-My-Zsh.

Compatibility

  • CentOS 6
  • CentOS 7
  • Ubuntu 14
  • Ubuntu 16
  • Ubuntu 18
  • Debian 7
  • Debian 8
  • Debian 9

Role Variables

  • ohmyzsh_users

Users for which omyzsh will be configured.

ohmyzsh_users:
  - bob
  - alice
  • ohmyzsh_install_default_zshrc

If set to true, installs default ohmyzsh ~/.zshrc from ~/.oh-my-zsh/templates/zshrc.zsh-template only upon the first clone of the ohmyzsh repo. If a ~/.zshrc already exists, it is backuped.

ohmyzsh_install_default_zshrc: true
  • ohmyzsh_plugins_repos

List of git repositories of ohmyzsh plugins to installs.

ohmyzsh_plugins_repos:
  - https://github.com/oldratlee/hacker-quotes
  • ohmyzsh_themes_repos

List of git repositories of ohmyzsh themes to installs.

ohmyzsh_themes_repos:
  - https://github.com/bhilburn/powerlevel9k

Example Playbook

    - hosts: servers
      vars:
        ohmyzsh_users:
          - bob
          - alice
      roles:
         - { role: ohmyzsh }

License

MIT

Author Information

Sofiane MEDJKOUNE

You can’t perform that action at this time.