Add ap command

This commit is contained in:
Anton Zadvorny 2021-10-16 18:15:57 +03:00
parent af444a7055
commit 389c4d25f0

6
home/.zsh/cmd/ap.sh Executable file
View File

@ -0,0 +1,6 @@
### ANSIBLE
# mnemonic: [A]nsible [P]laybook
# run ansible playbook with more readable output
echo -n "$@" | grep -q -- "-v" && export ANSIBLE_STDOUT_CALLBACK=yaml
ansible-playbook "$@"