Skip to content

Provizanta/ansible-role-packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: Packer

Build & Deploy

Establish and configure Packer.

Requirements

None

Role Variables

No variables are defined in defaults/main.yml.

Additionally, it is possible to define an explicit version to be downloaded and installed:

packer_architecture: 'amd64'    # enum, one of 386|amd64|arm|arm64|mips|mips64|mipsle|ppc64le|s390x

packer_version: '1.5.5'

Dependencies

None

Example Playbook

To get a default package:

- name: Converge
  hosts: all
  roles:
    - role: packer

To get an explicit version:

- name: Converge
  hosts: all
  roles:
    - role: packer
      vars:
        packer_version: '1.5.6'
        packer_architecture: amd64

License

MIT

Author Information

Tibor Csóka