brentwg.packer
Ansible Role - Packer
This role installs Hashicorp's Packer application.
This is based on Jeff Geerling's Ansible Role: Packer. However, I've slightly modified it to preserve previous downloaded versions and I've added a symlink so that you can switch between versions - depending on which one is specified in this role.
Requirements
None.
Role Variables
User modifiable variables and defaults are listed below. (For all variables, see defaults/main.yml):
packer_version: "1.2.0"
The version of Packer to install.
packer_arch: "amd64"
The system architecture that you are using (eg. 386 or amd64).
The installation path is:
/usr/local/packer/{{ packer_version }}/packer
And the symlink to the specified version is created here:
/usr/local/bin/packer
Dependencies
None.
Sample Playbook
- hosts: all
vars:
packer_version: "1.2.0"
packer_arch: "amd64"
roles:
- brentwg.packer
About
This role installs Hashicorp's Packer application.
Install
ansible-galaxy install brentwg.packerLicense
Unknown
Downloads
781
Owner
With regard to current career activity: I have already vaporized to the cloud...
