8 lines
158 B
Shell
8 lines
158 B
Shell
#!/bin/bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
terraform apply -input=false -auto-approve tfplan
|
|
ansible-playbook -i inventory deploy/site.yml
|
|
echo "Deployed."
|