I am currently experimenting with deploying using Packer’s Ansible local provisioning and for some odd reason, it doesn’t appear to be executing the tasks in the playbook. Packer, after installing the pre-requiresites for Ansible, uploads the following
Inventory file (“hosts”)
[localhost]
localhost ansible_connection=local
The playbook file (“local.yml”):