Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viasite-ansible/zsh-ansible-server
Completions for viasite-ansible/ansible-server
https://github.com/viasite-ansible/zsh-ansible-server
Last synced: about 2 months ago
JSON representation
Completions for viasite-ansible/ansible-server
- Host: GitHub
- URL: https://github.com/viasite-ansible/zsh-ansible-server
- Owner: viasite-ansible
- Created: 2017-04-13T17:38:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T17:16:08.000Z (about 6 years ago)
- Last Synced: 2024-03-15T00:02:55.743Z (3 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - ansible-server - Completions for [viasite-ansible/ansible-server](https://github.com/viasite-ansible/ansible-server). (Completions / ZSH on Windows)
- awesome-zsh-plugins - ansible-server - Completions for viasite-ansible/ansible-server. (Completions / Zinit (nÊe zplugin))
- awesome-zsh-plugins - ansible-server - Completions for viasite-ansible/ansible-server. (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - ansible-server - Completions for <b><code> 14â</code></b> <b><code> 0đ´</code></b> [viasite-ansible/ansible-server](https://github.com/viasite-ansible/ansible-server)). (Completions / ZSH on Windows)
README
## Features
- completion for `ansible-deploy` or `adeploy` (playbooks, `--limit`)
- completion for `ansible-role` or `arole` (playbooks, `--limit`)
- completion for `ansible-site` or `asite` (host/site) - expands `se/gr/si` to `server/group/site`
- completion for `sites-foreach` or `aforeach` (group/site) - expands `se/gr` to `server/group`
- completion for groups and hosts from inventory `hosts_all`## Install
#### Antigen
```
antigen bundle viasite-ansible/zsh-ansible-server
```#### oh-my-zsh
```
git clone https://github.com/viasite-ansible/zsh-ansible-server.git ~/.oh-my-zsh/custom/plugins/ansible-server
```
And add `ansible-server` to `plugins` in `.zshrc`.## Configure
By default you should execute scripts from `ansible-server` root:
```
scripts/ansible-deploy zsh
```If you want to execute scripts from anywhere, you must define `ANSIBLE_SERVER_PATH` variable:
```
export ANSIBLE_SERVER_PATH="/path/to/ansible-server"
```