Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 11 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T16:14:56.000Z (over 3 years ago)
- Last Synced: 2024-11-05T20:18:27.353Z (about 2 months 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
[![Build Status](https://travis-ci.com/marverix/ansible-role-packer.svg?branch=master)](https://travis-ci.com/marverix/ansible-role-packer)
![Ansible Quality Score](https://img.shields.io/ansible/quality/48226)
![Ansible Role](https://img.shields.io/ansible/role/48226)
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](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