Ansible role to install Packer on Ubuntu and macOS.
Used in the Ansible playbooks for setting up my workstations:
On macOS, Homebrew packer formula is used.
On Ubuntu, packer binary is installed into /opt/packer
and symlink created
in /usr/local/bin
.
The following script will get the latest release from GitHub and update configuration:
./update-release
To change installed version, update the version and checksum:
packer_version: "1.3.2"
packer_checksum: "sha256:5e51808299135fee7a2e664b09f401b5712b5ef18bd4bad5bc50f4dcd8b149a1"
See Packer Downloads page for latest version and checksum.
MIT