Solve the problem

Good morning someone who can help me solve this problem.
My files are grouped this way:

I run my playbook this way: ansible-playbook -e @variables.yml ansible_newtemplate.yml

Then I run the json manually , packer build -var aws_region=us-east-1 -var vm_ami=ami-0b91c01eb7fffd30b -var vm_size=t3a.small -var os_adminuser=ec2-user -var vm_name=windows-server-2016 -machine-readable update_template-bBsgszaAfaAb.json

This is the message that I get when I run the playbook:

But when I run, I get this message and in the end it tells me: Builds finished but no artifacts were created

The files in my templates are: groupvars.j2 , inventory.ini.j2 , update_template.json.j2

The name of the playbook is “variables.yml” , your content is this way: