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