From e67d3f9b0218fb58f749d2176e022abfb77a2ea6 Mon Sep 17 00:00:00 2001 From: Matej Stajduhar Date: Wed, 9 Apr 2025 16:14:36 +0200 Subject: [PATCH] Fixig-eip-tgging --- roles/aws/aws_ec2_with_eip/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/aws/aws_ec2_with_eip/tasks/main.yml b/roles/aws/aws_ec2_with_eip/tasks/main.yml index edf70f437..9f5df7a53 100644 --- a/roles/aws/aws_ec2_with_eip/tasks/main.yml +++ b/roles/aws/aws_ec2_with_eip/tasks/main.yml @@ -167,8 +167,8 @@ amazon.aws.ec2_eip: region: "{{ aws_ec2_with_eip.region }}" in_vpc: true - tag_name: "Name" - tag_value: "{{ aws_ec2_with_eip.instance_name }}" + tags: + Name: "{{ aws_ec2_with_eip.instance_name }}" when: not _aws_ec2_with_eip_instances_eip.addresses - name: Re-register EIP.