README.md
May 12, 2017 ยท View on GitHub
Features
- completion for
ansible-deployoradeploy(playbooks,--limit) - completion for
ansible-roleorarole(playbooks,--limit) - completion for
ansible-siteorasite(host/site) - expandsse/gr/sitoserver/group/site - completion for
sites-foreachoraforeach(group/site) - expandsse/grtoserver/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"