Fixes #173. This fix involves examining the generatedData to determine if the PackerHTTPAddr is nil. If the PackerHTTPAddr is nil, set it as an empty string. This modification ensures the proper handling of the packer_http_addr variable within the ansible-local provisioner.
Test
Navigate to the source directory of Ansible-local.
Fixes #173. This fix involves examining the
generatedData
to determine if thePackerHTTPAddr
is nil. If thePackerHTTPAddr
is nil, set it as an empty string. This modification ensures the proper handling of the packer_http_addr variable within the ansible-local provisioner.Test
packer_http_addr
should be an empty string, not%!s(<nil>)
.Closes #173