From 9bb9220f0dabf3a510a61beb0c28fb040692e375 Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sat, 3 Apr 2021 22:01:22 +0200 Subject: [PATCH] Dx --- ansible/inventory_aws_ec2.yaml | 3 ++- ansible/prepare-server.sh | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/inventory_aws_ec2.yaml b/ansible/inventory_aws_ec2.yaml index 8d94d50..49a6b62 100644 --- a/ansible/inventory_aws_ec2.yaml +++ b/ansible/inventory_aws_ec2.yaml @@ -1,6 +1,7 @@ --- plugin: aws_ec2 -regions: +boto_profile: aws_profile +regions: - eu-west-3 keyed_groups: - key: tags diff --git a/ansible/prepare-server.sh b/ansible/prepare-server.sh index 814531b..ffe475a 100644 --- a/ansible/prepare-server.sh +++ b/ansible/prepare-server.sh @@ -8,4 +8,3 @@ pip3 install boto3 botocore # export AWS_ACCESS_KEY_ID=$1 # export AWS_SECRET_ACCESS_KEY=$2 -