Ansible Role: Packer
Ansible role that installs Packer on Linux.
Features
✔️ Installing Packer- Does the package's checksum check
- You can define which version should be installed
✔️ Tested with Molecule Verify
Supported Platforms
✔️ Ubuntu 16.04 (Xenial)✔️ Ubuntu 18.04 (Bionic)✔️ Ubuntu 20.04 (Focal)✔️ CentOS 7✔️ CentOS 8
Requirements
None
Role Variables
Variable | Description | Default Value |
---|---|---|
packer_version |
Version of Packer to be installed | 1.7.2 |
packer_package_checksum |
SHA256 checksums for packages | checksum for 1.7.2 version |
Dependencies
None
Example Playbook
-
The simplest one
--- - hosts: all roles: - marverix.packer
-
Install Packer 1.1.1
--- - hosts: all roles: - role: marverix.packer vars: packer_version: 1.1.1 packer_package_checksum: e407566e2063ac697e0bbf6f2dd334be448d58bed93f44a186408bf1fc54c552
Note: Here is a list of all released Packer versions https://releases.hashicorp.com/packer/
License
ISC