#!/bin/bash [[ -z $1 ]] && echo target? && exit 1 target=$1 # conf depends on distro, do now show skipped hosts export ANSIBLE_DISPLAY_SKIPPED_HOSTS=false time ansible-playbook tasks-sshguard.yml -i ../hosts -e "target=$target" --check echo ready? read -r time ansible-playbook tasks-sshguard.yml -i ../hosts -e "target=$target"