{"id":15878809,"url":"https://github.com/darkwizard242/ansible-role-lazygit","last_synced_at":"2025-06-28T20:07:39.795Z","repository":{"id":39795185,"uuid":"496237588","full_name":"darkwizard242/ansible-role-lazygit","owner":"darkwizard242","description":"Ansible role for lazygit. Available on Ansible Galaxy.","archived":false,"fork":false,"pushed_at":"2024-06-26T21:51:51.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T18:50:26.989Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","cli","git","lazygit","linux","system"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/lazygit","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}},"created_at":"2022-05-25T13:14:26.000Z","updated_at":"2024-06-26T21:51:39.000Z","dependencies_parsed_at":"2024-05-03T16:03:11.199Z","dependency_job_id":"7a958490-5467-459d-ace3-ec8e095ce3f3","html_url":"https://github.com/darkwizard242/ansible-role-lazygit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/ansible-role-lazygit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-lazygit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-lazygit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-lazygit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-lazygit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-lazygit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-lazygit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262490400,"owners_count":23319283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","cli","git","lazygit","linux","system"],"created_at":"2024-10-06T02:41:56.728Z","updated_at":"2025-06-28T20:07:39.722Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-lazygit/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-lazygit/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-lazygit/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-lazygit/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/lazygit) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-lazygit\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-lazygit) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-lazygit\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-lazygit) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-lazygit\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-lazygit) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-lazygit?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-lazygit?color=orange\u0026style=flat-square)\n\n# Ansible Role: lazygit\n\nRole to install (_by default_) [lazygit](https://github.com/jesseduffield/lazygit) 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\nlazygit_app: lazygit\nlazygit_version: '0.34'\nlazygit_os: \"{{ ansible_system }}\"\nlazygit_architecture_map:\n  amd64: x86_64\n  arm: arm64\n  x86_64: x86_64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: x86_64\nlazygit_dl_url: https://github.com/jesseduffield/{{ lazygit_app }}/releases/download/v{{ lazygit_version }}/{{ lazygit_app }}_{{ lazygit_version }}_{{ lazygit_os }}_{{ lazygit_architecture_map[ansible_architecture] }}.tar.gz\nlazygit_bin_path: /usr/local/bin\nlazygit_file_owner: root\nlazygit_file_group: root\nlazygit_file_mode: '0755'\n```\n\n### Variables table:\n\nVariable                 | Description\n------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------\nlazygit_app              | Defines the app to install i.e. **lazygit**\nlazygit_version          | Defined to dynamically fetch the desired version to install. Defaults to: **0.34**\nlazygit_os               | Defines OS type.\nlazygit_architecture_map | Defines os architecture. Used for obtaining the correct type of binaries based on OS System Architecture.\nlazygit_dl_url           | Defines URL to download the lazygit binary from.\nlazygit_bin_path         | Defined to dynamically set the appropriate path to store lazygit binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin**\nlazygit_file_owner       | Owner for the binary file of lazygit.\nlazygit_file_group       | Group for the binary file of lazygit.\nlazygit_file_mode        | Mode for the binary file of lazygit.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **lazygit**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.lazygit\n```\n\nFor customizing behavior of role (i.e. specifying the desired **lazygit** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.lazygit\n  vars:\n    lazygit_version: 0.33\n```\n\nFor customizing behavior of role (i.e. placing binary of **lazygit** package in different location) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.lazygit\n  vars:\n    lazygit_bin_path: /bin/\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-lazygit/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-lazygit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-lazygit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-lazygit/lists"}