Is there a way to make this work if calling the playbook from Packer? I have it working when I run the playbook from the command line on my Linux build server, but it fails when I try to run the same playbook from Packer with the Ansible Provisioner. Thank You
On Monday, November 26, 2018 at 3:56:45 PM UTC-8, [email protected] wrote: > > Thanks Jordan. This worked. :) > > On Sunday, November 25, 2018 at 9:14:16 PM UTC+11, Jordan Borean wrote: >> >> You can't run non PowerShell modules on a Windows host. You would have to >> set delegate_to: localhost on the task to download it to the Ansible >> controller then use win_copy to copy it across. >> >> Thanks >> >> Jordan >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0ab329f5-7f0b-4487-8d61-749df7969ad1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
