add server script

This commit is contained in:
Nana Janashia
2021-04-03 18:57:36 +02:00
parent 3e561bbf2e
commit f883a86564
2 changed files with 19 additions and 4 deletions

11
ansible/prepare-server.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
apt update
apt install ansible -y
apt install python3-pip -y
pip3 install boto3 botocore
export AWS_ACCESS_KEY_ID=$1
export AWS_SECRET_ACCESS_KEY=$2