GithubHelp home page GithubHelp logo

ansible_role_packer's Introduction

ansible_role_packer

This is a simple ansible role to install packer into a RedHat-like 7+ box.

Requirements

This module hasn't specific requirements just Ansible.

Role Variables

packer_version: 1.1.0
  • packer_version: Specify the packer version to install
packer_dist_file: "packer_{{packer_version}}_linux_amd64.zip"
  • packer_dist_file: Terraform distribution archive
packer_repo_url: "https://releases.hashicorp.com/packer/{{packer_version}}/{{ packer_dist_file }}"
  • packer_repo_url: Terraform distribution URL. Used to fetch the Terraform binary
packer_base_install_dir: /opt/hashicorp/packer
  • packer_base_install_dir: Root of the Terraform installation
packer_bin: /usr/bin/packer
  • packer_bin: Terraform binary location
packer_requirements:
  - unzip
  • packer_requirements: Terraform playbook requirements
packer_purge_old: true
  • packer_purge_old: Delete the oldest version installed in the system. Default: true
packer_cleanup: true
  • packer_cleanup: Remove the Terraform distribution archive. Default: true

Example Playbook

---
- hosts: localhost
  become: true
  connection: local

  roles:
    - mauromedda.ansible_role_packer

License

BSD

Author Information

Author: Mauro Medda

ansible_role_packer's People

Contributors

mauromedda avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.