We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99fe615 commit 4148353Copy full SHA for 4148353
roles/influxdb_1x_platform/tasks/collect_ec2_data.yml
@@ -62,7 +62,7 @@
62
{%- set _ = __influxdb1x_platform_instances.append({
63
'instance': __influxdb1x_platform_instance_result.__influxdb1x_platform.name,
64
'hostname': __influxdb1x_platform_instance.tags.Name | default('unnamed'),
65
- 'ansible_host': __influxdb1x_platform_instance.public_ip_address,
+ 'ansible_host': __influxdb1x_platform_instance.public_ip_address | default(''),
66
'ansible_port': __influxdb1x_platform.ssh_port,
67
'ansible_user': __influxdb1x_platform.ssh_user,
68
'identity_file': __influxdb1x_platform.private_key_runtime_path,
0 commit comments