Add ap command
This commit is contained in:
parent
af444a7055
commit
389c4d25f0
6
home/.zsh/cmd/ap.sh
Executable file
6
home/.zsh/cmd/ap.sh
Executable 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 "$@"
|
Loading…
Reference in New Issue
Block a user