vaulttec.zsh

ansible-role-zsh

构建状态

Ansible 角色用于安装 zshOh My ZSH

要求

无。

角色变量

可用的变量如下所示,包含默认值:

zsh_user:
  - "{{ ansible_ssh_user }}"

zsh_debug_startup_time: false

zsh_ohmy_theme: pygmalion

zsh_ohmy_custom_plugins:
  - name: zsh-syntax-highlighting
    repo: "git://github.com/zsh-users/zsh-syntax-highlighting.git"
  - name: zsh-autosuggestions
    repo: "git://github.com/zsh-users/zsh-autosuggestions.git"

zsh_ohmy_plugins:
  - git
  - git-flow
  - docker
  - zsh-syntax-highlighting
  - zsh-autosuggestions

zsh_ohmy_disable_auto_update: true

依赖关系

无。

示例剧本

使用默认设置安装 zsh 和 oh-my-zsh:

- hosts: server
  roles:
     - vaulttec.zsh

使用随机主题和不同插件安装 zsh 和 oh-my-zsh:

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

测试

cd tests && vagrant up

许可证

MIT

关于项目

Install zsh and oh-my-zsh

安装
ansible-galaxy install vaulttec.zsh
许可证
mit
下载
2.1k
拥有者