- completion for
ansible-deploy
oradeploy
(playbooks,--limit
) - completion for
ansible-role
orarole
(playbooks,--limit
) - completion for
ansible-site
orasite
(host/site) - expandsse/gr/si
toserver/group/site
- completion for
sites-foreach
oraforeach
(group/site) - expandsse/gr
toserver/group
- completion for groups and hosts from inventory
hosts_all
antigen bundle viasite-ansible/zsh-ansible-server
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
.
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"