As it turns out I was able to work around this by using the win_get_url 
module instead of aws_s3


On Friday, April 5, 2019 at 10:20:36 AM UTC-7, gigi...@gmail.com wrote:
>
> Thank You - Only the fist line is the same:
>
> TASK [download chocolatey from s3 to control host] 
> *****************************
>     amazon-ebs: task path: 
> /home/ec2-user/manual-builds/play-win2016-test2-pack.yaml:9
> after this the output is very different for each
>
> I can see an actual error when the playbook is run from Packer:
>
> amazon-ebs:   File 
> "/usr/local/lib/python3.7/site-packages/ansible/plugins/shell/__init__.py", 
> line 210, in append_command
> amazon-ebs:   if self._SHELL_AND:
> amazon-ebs: AttributeError: 'ShellModule' object has no attribute 
> '_SHELL_AND'
> amazon-ebs: fatal: [default]: FAILED! => {
> amazon-ebs:  "msg": "Unexpected failure during module execution.",
>
>
>
>
> On Thursday, April 4, 2019 at 7:24:55 PM UTC-7, Tony Chia wrote:
>>
>> There is no limitation which task can be run from packer. 
>>
>> Try adding -vvvv when you execute from packer and from outside of packer 
>> and compare the results 
>>
>> Regards
>> Tony Chia 
>>
>>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bda48cf3-5a4f-4057-a2a5-1fbb2a889681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to