Pulled facts gathering into this role
diff --git a/tasks/private_address.yml b/tasks/private_address.yml index 54d0b25..f7f0bc5 100644 --- a/tasks/private_address.yml +++ b/tasks/private_address.yml
@@ -7,7 +7,7 @@ - block: - name: Update EC2 for private ip on AWS - ec2_facts: + ec2_metadata_facts: when: ansible_ec2_local_ipv4 is not defined - name: Normalized name for private address on AWS