Using the docker image to build AMIs, packer produces errors for missing ansible and amazon plugins.
Error: Unknown provisioner type "ansible"
on packer/splunk_server/splunk_aws.pkr.hcl line 64:
(source code not available)
The provisioner ansible is unknown by Packer, and is likely part of a plugin
that is not installed.
You may find the needed plugin along with installation instructions documented
on the Packer integrations page.
https://developer.hashicorp.com/packer/integrations?filter=ansible
As per here, this can be fixed with the below commands:
It looks like this can also be added to Packer configuration files, which might be a better fix for this issue as additional dependencies aren't installed for users that are using local or Azure deployments?
Using the docker image to build AMIs, packer produces errors for missing
ansible
andamazon
plugins.As per here, this can be fixed with the below commands:
It looks like this can also be added to Packer configuration files, which might be a better fix for this issue as additional dependencies aren't installed for users that are using local or Azure deployments?