Install packer on the same machine as you have installed ansible Andy then start packer using shell module, delegated to local host.