R. P. Taylor
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
contrib/terraform/terraform.py
|
|
@ -368,7 +368,7 @@ def iter_host_ips(hosts, ips): |
|
|
|
'ansible_host': ip, |
|
|
|
}) |
|
|
|
|
|
|
|
if 'use_access_ip' in host[1]['metadata'] and host[1]['metadata']['use_access_ip'] == "0": |
|
|
|
if 'use_access_ip' in host[1]['metadata'] and host[1]['metadata']['use_access_ip'] == "0" and 'access_ip' in host[1]: |
|
|
|
host[1].pop('access_ip') |
|
|
|
|
|
|
|
yield host |
|
|
|