mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
ec2_tag -> ec2_tag_info
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Retrieve all available EC2 tags
|
- name: Retrieve all available EC2 tags
|
||||||
amazon.aws.ec2_tag:
|
amazon.aws.ec2_tag_info:
|
||||||
region: "{{ ansible_ec2_placement_region }}"
|
region: "{{ ansible_ec2_placement_region }}"
|
||||||
resource: "{{ ansible_ec2_instance_id }}"
|
resource: "{{ ansible_ec2_instance_id }}"
|
||||||
state: list
|
|
||||||
register: ec2_instance_tags
|
register: ec2_instance_tags
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user