/antigen_zsh.ansible_role

Ansible role for setting up zsh w/ Antigen for multiple users

MIT LicenseMIT

antigen_zsh

This role installs zsh and the Antigen framework.

Role Variables

antigen_zsh_path:     /usr/local/antigen  # where to install antigen
antigen_oh_my_zsh:    true                # use oh-my-zsh
antigen_zsh_aliases:  []                  # aliases to set
antigen_zsh_env_vars: []                  # environment variables to set
antigen_zsh_plugins:  []                  # plugins to install
antigen_zsh_themes:   []                  # themes to install
antigen_zsh_users:    []                  # users to assign zsh as their default shell

Example Playbook

- hosts: all
  roles:
    - antigen_zsh
  vars:
    antigen_zsh_path: "{{ ansible_env.HOME }}/.antigen"
    antigen_oh_my_zsh: true
    antigen_zsh_aliases:
      - { name: "ls", value: "ls -G", user: "all" }
      - { name: "nethack", value: "telnet nethack.alt.org", user: "barley" }
    antigen_zsh_env_vars:
      - { name: "PATH", value: "$PATH:/usr/bin:/bin:/usr/sbin:/usr/local/bin", user: "all" }
      - { name: "AWS_S3_BUCKET", value: "bazmut", user: "barley" }
    antigen_zsh_plugins:
      - { name: "git", user: "foozer" }
      - { name: "zsh-users/zsh-syntax-highlighting", user: "all" }
    antigen_zsh_themes:
      - { name: "gozilla", user: "foozer" }
      - { name: "arrow", user: "barley" }
    antigen_zsh_users:
      - foozer
      - barley

License

Licensed under the MIT License. See the LICENSE file for details.

Author Information