From bdfe5dc80435d37631b7fa2d7afb06135f19cc8e Mon Sep 17 00:00:00 2001 From: Varun Arbatti Date: Thu, 23 Jan 2020 00:26:31 +0000 Subject: [PATCH] Merged in DCD-890-fix-variable-name-typo-in-write-tags (pull request #78) DCD-869: Change missing variable reference in write-tags Approved-by: Steve Smith --- roles/aws_common/tasks/write-tags.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/aws_common/tasks/write-tags.yml b/roles/aws_common/tasks/write-tags.yml index d2a442d..89ae6be 100644 --- a/roles/aws_common/tasks/write-tags.yml +++ b/roles/aws_common/tasks/write-tags.yml @@ -12,7 +12,7 @@ - name: Retrieve autoscaling group set_fact: - ec2_autoscaling_group: "{{ ec2_tags.tags['aws:autoscaling:groupName'] | default('') }}" + ec2_autoscaling_group: "{{ ec2_instance_tags.tags['aws:autoscaling:groupName'] | default('') }}" # Because Ansible - https://github.com/ansible/ansible/issues/11905#issuecomment-130496173 - name: Set fact to store boolean 'atl_restore_required' value as as array of one string