#!/bin/bash [[ -z $1 ]] && echo target? && exit 1 target=$1 ansible-playbook setup.yml -i hosts -e target=$target --diff --check echo ready? read -r ansible-playbook setup.yml -i hosts -e target=$target --diff