packer

Ansible Role: packer

Build Status

Ansible role that installs packer from releases.hashicorp.com

Supported Operating Systems

Any GNU/Linux operating system with unzip

Requirements

  • Ansible 2.1+

Role Variables

See ./defaults/main.yml for configurable variables and their defaults

Example playbook

---
- name: Example play
  hosts: all
  roles:
    - packer

Example playbook (with some optional vars set)

---
- name: Example play with optional vars set
  hosts: all
  roles:
    - { role: packer,
        packer_version: 0.12.2
      }

Add as a submodule to your playbook repo

git submodule add https://github.com/bramford/ansible-role-packer.git roles/packer
Install
ansible-galaxy install bramford/ansible-role-packer
GitHub repository
License
mit
Downloads
1587