This role will assume the following configuration:
- Install ohmyzsh globally
- Setup a local zshrc file
- Ansible 1.7.2+
None.
Using ansible galaxy:
ansible-galaxy install mychiara.ohmyzsh
You can add this role as a dependency for other roles by adding the role to the meta/main.yml file of your own role:
dependencies:
- { role: mychiara.ohmyzsh }
None
Name | Default | Type | Description |
---|---|---|---|
mychiara_ohmyzsh_users |
Array | Array | Collection of users with ohmyzsh custom configurations. |
user.name |
- | String | Name of the user (Need to match a unix system username). |
user.theme |
- | String | OhMyZsh theme see: OhMyZsh themes. |
user.plugins |
- | Array | Array of ohmyzsh plugins see: OhMyZsh plugins |
---
mychiara_ohmyzsh_users:
- name: root
theme: pygmalion
plugins: ['debian', 'common-aliases', 'history', 'history-substring-search']
- name: mychiara
theme: pygmalion
plugins: ['debian', 'common-aliases', 'history', 'history-substring-search']
- hosts: servers
roles:
- { role: mychiara.ohmyzsh }
In lieu of a formal styleguide, take care to maintain the existing coding style. Would be create if you added unit tests, that's on my todo list aswell :]
- Fork it
- Create your feature branch (git checkout -b feature/my-cool-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/my-new-feature)
- Create new Pull Request
Copyright (c) mychiara | svs under the GPLv2 license.