#!/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 # check mode not supported as we are running a full-blown script time ansible-playbook tasks-time-postinstall.yml -i ../hosts -e "target=$target"