https://github.com/marverix/ansible-role-packer
Ansible role that installs Packer on Linux
https://github.com/marverix/ansible-role-packer
ansible ansible-galaxy-role ansible-role hashicorp packer
Last synced: 2 months ago
JSON representation
Ansible role that installs Packer on Linux
- Host: GitHub
- URL: https://github.com/marverix/ansible-role-packer
- Owner: marverix
- License: isc
- Created: 2020-04-26T15:25:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T16:14:56.000Z (over 5 years ago)
- Last Synced: 2025-02-15T12:47:04.036Z (over 1 year ago)
- Topics: ansible, ansible-galaxy-role, ansible-role, hashicorp, packer
- Homepage: https://galaxy.ansible.com/marverix/packer
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Packer
[](https://travis-ci.com/marverix/ansible-role-packer)


[](LICENSE)
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
1. The simplest one
```yml
---
- hosts: all
roles:
- marverix.packer
```
1. Install Packer 1.1.1
```yml
---
- 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