#!/bin/bash
set -e

for HOST in $(fgrep 'all:' hosts | sed 's/.*all: *//g'); do
  echo "Running on $HOST"
  ansible "$HOST" "$@"
  echo
done