Ansible Packer

Install Packer with Ansible

Install

Add to roles/requirements.yml

- src: git@github.com:thomaslorentsen/ansible-packer.git
  scm: git
  version: master
  name: thomaslorentsen.packer

and then run:

ansible-galaxy install -r roles/requirements.yml

Usage

- hosts: localhost
  roles:
    - { role: thomaslorentsen.packer, packer_version: "1.3.3" }