install.sh #1

  • //
  • guest/
  • russell_jackson/
  • ansible-sdp/
  • install.sh
  • View
  • Commits
  • Open Download .zip Download (490 B)
#!/bin/bash
#echo "For a new install, be sure to add update_dependencies: true to the host vars file."
#read -s -n 1 -p "Press Ctrl-C to abort, Enter to continue."
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 '{"install_perforce":true}'  --vault-password-file password.txt --limit $1 
# Change User Description Committed
#1 32488 Russell C. Jackson (Rusty) Ansible scaffolding for the sdp - Needs work.