From f731cae452f8a3670f430367e36bcabad09040f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=A4rkle?= Date: Mon, 28 Dec 2020 15:44:22 +0100 Subject: [PATCH] Bugfix: Region explizit setzen --- roles/aws_graviton_nano_spot/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/aws_graviton_nano_spot/tasks/main.yml b/roles/aws_graviton_nano_spot/tasks/main.yml index 3719707..a7ea098 100644 --- a/roles/aws_graviton_nano_spot/tasks/main.yml +++ b/roles/aws_graviton_nano_spot/tasks/main.yml @@ -2,12 +2,13 @@ amazon.aws.ec2_key: name: vpn_key key_material: "{{ lookup('file', '{{ ssh_pub_key_file }}') }}" + region: "{{ aws_region }}" - name: network security policy that allows all traffic incoming and outgoing amazon.aws.ec2_group: + region: "{{ aws_region }}" name: "vpn allow all" description: allow all traffic/protocol/ports - region: "{{ aws_region }}" rules: - proto: all cidr_ip: 0.0.0.0/0