packer

Ansible role: ansible-role-packer

An Ansible role that installs Hashicorps Packer

Build status

Build Status

Requirements

On the host must unzip being installed. If not installed it will be installed by the role.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

packer_version: 0.10.1

The version which should be installed.

packer_sha256sum: 7d51fc5db19d02bbf32278a8116830fae33a3f9bd4440a58d23ad7c863e92e28

The sha256sum of the downloaded zip file.

packer_base_url: https://releases.hashicorp.com/packer

Base URL from Hashicorps mirror.

packer_arch: amd64

Architecture which should be used.

packer_download_cache: /tmp/packer.zip

Destination where the zip file should be cached.

packer_path: /opt/packer

Info file where the version is being stored

Dependencies

None

Example Playbook

- hosts: buildservers
  roles:
     - { role: kenhuang.packer, packer_version: 0.10.1, packer_sha256sum: 7d51fc5db19d02bbf32278a8116830fae33a3f9bd4440a58d23ad7c863e92e28 }

License

CC-BY - https://creativecommons.org/licenses/by/3.0/

Install
ansible-galaxy install kenhuang/ansible-role-packer
GitHub repository
License
Unknown
Downloads
39
Owner