Re: [packer] packer 10.2 aws builder ansible remote provisioner

2017-02-27 Thread Tony Mills
Thanks for the reply, i had only added those because it wasnt working and thought it might help my cause. some further digging found that if you have an inventory file in the playbook directory it wouldnt do the default (wierd). after moving the play to another directory on its own it ran without

Re: [packer] packer 10.2 aws builder ansible remote provisioner

2017-02-27 Thread Rickard von Essen
Try dropping these two lines: "user": "ec2-user", "sftp_command": "/usr/libexec/openssh/sftp-server -e" On 27 February 2017 at 14:45, Tony Mills wrote: > Hi All, > > I am trying to get packer running ansible and am wondering if there is a > fix for the following problem:- > > packer itself is

[packer] packer 10.2 aws builder ansible remote provisioner

2017-02-27 Thread Tony Mills
Hi All, I am trying to get packer running ansible and am wondering if there is a fix for the following problem:- packer itself is able to create an ami from a src I'm new to this so probably got something wrong but ive setup a basic test json file:- { "provisioners": [ { "type":