Maybe this helps: http://xnoder.github.io/ansible-xenial/
its a pure Ansible workaround: On Thu, Sep 1, 2016 at 10:39 PM, ben ciceron <[email protected]> wrote: > Hello, > trying to use the EBS builder on an Ubuntu 16.04 Xenial but it fails early > on looking for python which is not installed on the official 16.04 image at: > https://cloud-images.ubuntu.com/locator/ > instead python3 is default. > > ansible > 2.1.1.0 > > packer --version > 0.10.1 > > 2016/09/01 13:28:02 ui: amazon-ebs: fatal: [default]: FAILED! => > {"changed": false, "failed": true, "module_stderr": "/bin/sh: 1: > /usr/bin/python: not found\n", "module_stdout": "", "msg": "MODULE > FAILURE", "parsed": false} > amazon-ebs: fatal: [default]: FAILED! => {"changed": false, "failed": > true, "module_stderr": "/bin/sh: 1: /usr/bin/python: not found\n", > "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false} > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/8981408c-3159-4ba8-8828-4fc477055b82%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/8981408c-3159-4ba8-8828-4fc477055b82%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro (+31)103400555 -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0eyXQhXXeGOEZYqKfPiXE_-8Qfpwyofj9T9jv_0WqwSciA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
