dotfiles/home/.zsh/cmd/ap.sh

7 lines
187 B
Bash
Raw Normal View History

2021-10-16 15:15:57 +00:00
### 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 "$@"