{"id":15878955,"url":"https://github.com/darkwizard242/ansible-role-packer","last_synced_at":"2026-04-28T00:01:38.259Z","repository":{"id":39586295,"uuid":"207040994","full_name":"darkwizard242/ansible-role-packer","owner":"darkwizard242","description":"Ansible role for Hashicorp Packer. Available on Ansible Galaxy.","archived":false,"fork":false,"pushed_at":"2026-02-05T23:31:41.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T09:28:57.796Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","cloud-native","devops","hashicorp-packer","linux","packer"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/packer","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkwizard242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-08T00:23:10.000Z","updated_at":"2026-02-05T23:31:28.000Z","dependencies_parsed_at":"2023-12-05T19:26:47.646Z","dependency_job_id":"dbed9958-e61d-49f7-a88d-1302de30436a","html_url":"https://github.com/darkwizard242/ansible-role-packer","commit_stats":null,"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/ansible-role-packer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-packer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-packer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-packer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-packer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-packer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-packer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-galaxy","ansible-role","cloud-native","devops","hashicorp-packer","linux","packer"],"created_at":"2024-10-06T02:42:29.810Z","updated_at":"2026-04-28T00:01:38.254Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-packer/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-packer/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-packer/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-packer/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/packer) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-packer\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-packer) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-packer\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-packer) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-packer\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-packer) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-packer?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-packer?color=orange\u0026style=flat-square)\n\n# Ansible Role: Packer\n\nRole to install (_by default_) [packer](https://packer.io/) package on **Debian/Ubuntu** and **EL** systems.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\npacker_app: packer\npacker_version: 1.15.3\npacker_os: \"{{ ansible_system | lower }}\"\npacker_architecture_map:\n  amd64: amd64\n  arm: arm64\n  x86_64: amd64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: amd64\npacker_dl_url: https://releases.hashicorp.com\npacker_dl_loc: /tmp\npacker_bin_path: /usr/local/bin\npacker_file_owner: root\npacker_file_group: root\npacker_file_mode: '0755'\n```\n\n### Variables table:\n\nVariable                | Description\n----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------\npacker_app              | Defines the app to install i.e. **packer**\npacker_version          | Defined to dynamically fetch the desired version to install. Defaults to: **1.15.3**\npacker_os               | Defines os type. Used for obtaining the correct type of binaries based on OS type.\npacker_architecture_map | Defines os architecture. Used to set the correct type of binaries based on OS System Architecture.\npacker_dl_url           | Defines URL to download the packer binary from.\npacker_dl_loc           | Defined to dynamically set where to place the binary archive for `packer` temporarily. Defaults to: **/tmp**\npacker_bin_path         | Defined to dynamically set the appropriate path to store packer binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin**\npacker_file_owner       | Owner for the binary file of packer.\npacker_file_group       | Group for the binary file of packer.\npacker_file_mode        | Mode for the binary file of packer.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **packer**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.packer\n```\n\nFor customizing behavior of role (i.e. specifying the desired **packer** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.packer\n  vars:\n    packer_version: 1.5.4\n```\n\nFor customizing behavior of role (i.e. placing binary of **packer** package in different location) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.packer\n  vars:\n    packer_bin_path: /bin/\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-packer/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-packer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-packer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-packer/lists"}