sbaerlocher / ansible.ohmyzsh

This role installs and configures Oh-My-Zsh under Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: ohmyzsh

Build Status license Ansible Galaxy Ansible Role

Description

This role installs and configures Oh-My-Zsh under Linux.

Installation

ansible-galaxy install sbaerlocher.ohmyzsh

Requirements

none

Role Variables

ohmyzsh_users

List of users where oh-my-zsh should be installed.

example

ohmyzsh_users:
  - username:
    theme:
    plugins:
      - git

default

ohmyzsh_users: "{{ users | selectattr('shell', 'equalto', '/usr/bin/zsh' ) | list }}"

ohmyzsh_theme

Default oh-my-zsh themes, if the user has not set any.

ohmyzsh_theme: 'af-magic'

ohmyzsh_plugins

Default oh-my-zsh plugins, if the user has not set any.

ohmyzsh_plugins:
  - git

Dependencies

none

Example Playbook

- hosts: all
  roles:
    - sbaerlocher.ohmyzsh

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2020, Simon Bärlocher

About

This role installs and configures Oh-My-Zsh under Linux.

License:MIT License