dotfiles/home/.zsh/cmd/ap.sh
2021-10-16 18:15:57 +03:00

7 lines
187 B
Bash
Executable File

### 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 "$@"