X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/5df124769817a210fc836f518f7326a11ac61adc..d4f185a99fd41f6927b3df2e80b1b24790242bd0:/playall diff --git a/playall b/playall new file mode 100755 index 0000000..b4abf6b --- /dev/null +++ b/playall @@ -0,0 +1,8 @@ +#!/bin/bash +set -e + +for HOST in $(fgrep 'all:' hosts | sed 's/.*all: *//g'); do + echo "Playing on $HOST" + ansible-playbook --diff -l "$HOST" "$@" + echo +done