#!/bin/bash
export SERVER=${1:-Undefined}
if [[ $SERVER == Undefined ]]; then
   echo "Server parameter not supplied."
   echo "You must supply the server or group name as a parameter to this script."
   exit 1
fi
ansible-playbook main-playbook.yml --extra-vars '{"update_cron":true}'  --vault-password-file password.txt --limit $1
