commit | author | age
|
93d261
|
1 |
ansible-role-zsh |
SS |
2 |
================ |
|
3 |
[![Build Status](https://travis-ci.org/vaulttec/ansible-role-zsh.svg?branch=master)](https://travis-ci.org/vaulttec/ansible-role-zsh) |
|
4 |
|
|
5 |
Ansible role to install [zsh](https://www.zsh.com/3) and [Oh My ZSH](http://ohmyz.sh). |
|
6 |
|
|
7 |
|
|
8 |
Requirements |
|
9 |
------------ |
|
10 |
|
|
11 |
None. |
|
12 |
|
|
13 |
|
|
14 |
Role Variables |
|
15 |
-------------- |
|
16 |
|
|
17 |
Available variables are listed below, along with default values: |
|
18 |
|
|
19 |
```yaml |
|
20 |
zsh_users: |
8fa982
|
21 |
- "{{ ansible_user }}" |
93d261
|
22 |
zsh_ohmy_theme: pygmalion |
SS |
23 |
zsh_ohmy_plugins: |
|
24 |
- git |
|
25 |
- git-flow |
|
26 |
- docker |
|
27 |
zsh_ohmy_auto_update: true |
|
28 |
``` |
|
29 |
|
|
30 |
|
|
31 |
Dependencies |
|
32 |
------------ |
|
33 |
|
|
34 |
None. |
|
35 |
|
|
36 |
|
|
37 |
Example Playbook |
|
38 |
---------------- |
|
39 |
|
|
40 |
Install zsh and oh-my-zsh with default settings: |
|
41 |
|
|
42 |
```yaml |
|
43 |
- hosts: server |
|
44 |
roles: |
|
45 |
- vaulttec.zsh |
|
46 |
``` |
|
47 |
|
|
48 |
Install zsh and oh-my-zsh with random theme and different plugins: |
|
49 |
|
|
50 |
```yaml |
|
51 |
- hosts: desktop |
|
52 |
roles: |
|
53 |
- { role: vaulttec.zsh, zsh_ohmy_theme: random, zsh_ohmy_plugins: [git, git-extras] } |
|
54 |
``` |
|
55 |
|
|
56 |
|
|
57 |
Testing |
|
58 |
------- |
|
59 |
|
|
60 |
```bash |
|
61 |
cd tests && vagrant up |
|
62 |
``` |
|
63 |
|
|
64 |
|
|
65 |
License |
|
66 |
------- |
|
67 |
|
8fa982
|
68 |
MIT |