An Ansible role to install zgenom for the current user
None
git
installed. You can use Jeff Geerling's git role to install it on Linux systems.
Variable | Type | Default Value | Description |
---|---|---|---|
zgenom_path |
str |
"{{ ansible_user_dir }}/.zgen" |
The path to save zgenom to. |
zgenom_branch |
str |
"main" |
The branch of the zgenom repo to clone. |
zgenom_update |
bool |
false |
Whether or not to update the repository on each Ansible run. |
zgenom_modify_zshrc |
bool |
true |
Whether or not to modify .zshrc to load zgenom. |
zgenom_zsh_path |
str |
"{{ ansible_user_shell }} |
The path to zsh |
zgenom_reset_zgen |
bool |
true |
Whether or not to reset init.zsh when modifying .zshrc . |
zgenom_zgen_plugins |
list |
See defaults/main.yml |
A list of ZSH plugins to load. |
None
None
- hosts: my-workstation
roles:
- zgenom
vars:
# Add additional plugins
zgenom_zgen_plugins:
- unixorn/fzf-zsh-plugin
- zsh-users/zsh-completions
- zsh-users/zsh-autosuggestions
- zsh-users/zsh-syntax-highlighting
- zsh-users/zsh-history-substring-search
- unixorn/tumult.plugin.zsh
- sparsick/ansible-zsh
- chrissicool/zsh-256color
- qoomon/zjump
MPL-2.0
This role was created in 2020 by Brandon McNama.
- Ruby
2.7
or later - Python
3.8
or later - Poetry
1.1
or later
This repository supports asdf for language selection.
bundle install --path vendor/bundle --jobs 2 --clean && poetry install --remove-untracked
poetry run pre-commit
This role uses Test Kitchen and Inspec for testing
instead of Molecule. This is done in order to more easily support multiple testing drivers (both
docker
and exec
) to ease testing on multiple operating systems.
To run tests, run bundle exec poetry run kitchen test <suite name>
.