mydeploy 237 B

1234567891011
  1. #!/bin/bash
  2. cd script/ansible/bin
  3. # Set default APP_VERSION if not provided
  4. if [ -z "$APP_VERSION" ]; then
  5. export APP_VERSION="latest"
  6. fi
  7. # Run the deploy playbook
  8. ansible-playbook ../deploy_playbook.yml -i ../inventory/hosts"$@"