Commit 8137fa89 by Feanil Patel

Update the attribute.

parent 86b4801b
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
# #
- debug: msg="{{ created_service_subnets.results|map(attribute='subnet_id')| list | join(',') }}" - debug: msg="{{ created_service_subnets.results|map(attribute='subnet_id')| list | join(',') }}"
register: service_vpc_zone_identifier_string register: service_vpc_zone_identifier_string
- name: Manage ASG - name: Manage ASG
ec2_asg: ec2_asg:
profile: "{{ profile }}" profile: "{{ profile }}"
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
desired_capacity: "{{ asg_desired_capacity }}" desired_capacity: "{{ asg_desired_capacity }}"
vpc_zone_identifier: "{{ service_vpc_zone_identifier_string.msg }}" vpc_zone_identifier: "{{ service_vpc_zone_identifier_string.msg }}"
tags: "{{ asg_instance_tags }}" tags: "{{ asg_instance_tags }}"
load_balancers: "{{ created_elbs.results|map(attribute='name')|list }}" load_balancers: "{{ created_elbs.results|map(attribute='elb.name')|list }}"
register: asg register: asg
when: auto_scaling_service when: auto_scaling_service
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment