Bugfix: Region explizit setzen

This commit is contained in:
Stefan Märkle 2020-12-28 15:44:22 +01:00
parent ea9ff70b12
commit f731cae452

View File

@ -2,12 +2,13 @@
amazon.aws.ec2_key: amazon.aws.ec2_key:
name: vpn_key name: vpn_key
key_material: "{{ lookup('file', '{{ ssh_pub_key_file }}') }}" key_material: "{{ lookup('file', '{{ ssh_pub_key_file }}') }}"
region: "{{ aws_region }}"
- name: network security policy that allows all traffic incoming and outgoing - name: network security policy that allows all traffic incoming and outgoing
amazon.aws.ec2_group: amazon.aws.ec2_group:
region: "{{ aws_region }}"
name: "vpn allow all" name: "vpn allow all"
description: allow all traffic/protocol/ports description: allow all traffic/protocol/ports
region: "{{ aws_region }}"
rules: rules:
- proto: all - proto: all
cidr_ip: 0.0.0.0/0 cidr_ip: 0.0.0.0/0