{"id":18367794,"url":"https://github.com/gantsign/ansible_role_bat","last_synced_at":"2025-06-25T22:02:48.174Z","repository":{"id":39648820,"uuid":"150581655","full_name":"gantsign/ansible_role_bat","owner":"gantsign","description":"Ansible role for installing bat the advanced alternative to cat","archived":false,"fork":false,"pushed_at":"2024-03-03T21:24:39.000Z","size":130,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T03:51:13.699Z","etag":null,"topics":["ansible","ansible-role"],"latest_commit_sha":null,"homepage":null,"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/gantsign.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":"2018-09-27T12:15:50.000Z","updated_at":"2024-03-03T19:22:29.000Z","dependencies_parsed_at":"2024-11-05T23:38:00.064Z","dependency_job_id":null,"html_url":"https://github.com/gantsign/ansible_role_bat","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_bat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_bat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_bat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gantsign%2Fansible_role_bat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gantsign","download_url":"https://codeload.github.com/gantsign/ansible_role_bat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522289,"owners_count":20952518,"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-role"],"created_at":"2024-11-05T23:23:26.792Z","updated_at":"2025-04-06T17:31:32.814Z","avatar_url":"https://github.com/gantsign.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role: bat\n=================\n\n[![Tests](https://github.com/gantsign/ansible_role_bat/workflows/Tests/badge.svg)](https://github.com/gantsign/ansible_role_bat/actions?query=workflow%3ATests)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-gantsign.bat-blue.svg)](https://galaxy.ansible.com/gantsign/bat)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/gantsign/ansible_role_bat/master/LICENSE)\n\nRole to download and install [bat](https://github.com/sharkdp/bat) the\nadvanced alternative to `cat`.\n\nRequirements\n------------\n\n* Ansible Core \u003e= 2.12\n\n* Linux Distribution\n\n    * Debian Family\n\n        * Debian\n\n            * Buster (10)\n            * Bullseye (11)\n            * Bookworm (12)\n\n        * Ubuntu\n\n            * Bionic (18.04)\n            * Focal (20.04)\n            * Jammy (22.04)\n\n        * Note: other versions are likely to work but have not been tested.\n\nRole Variables\n--------------\n\nThe following variables will change the behavior of this role (default values\nare shown below):\n\n```yaml\n# bat version number\nbat_version: '0.23.0'\n\n# The SHA256 of the bat redistributable package\nbat_redis_sha256sum: '56b3d05e11c6d473643766c612d10c2d3de56ff2fcd14b3d82d86f5843307ced'\n\n# Directory to store files downloaded for bat\nbat_download_dir: \"{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads') }}\"\n```\n\nExample Playbook\n----------------\n\n```yaml\n- hosts: servers\n  roles:\n    - role: gantsign.bat\n```\n\nTab Completion for Zsh\n----------------------\n\n### Using Ansible\n\nThe recommended way to enable Zsh support for `bat` is to use the\n[gantsign.antigen](https://galaxy.ansible.com/gantsign/antigen) role (this must\nbe configured for each user).\n\n\n```yaml\n- hosts: servers\n  roles:\n    - role: gantsign.hub\n\n    - role: gantsign.antigen\n      users:\n        - username: example\n          antigen_bundles:\n            - name: bat\n              url: gantsign/zsh-plugins\n              location: bat\n```\n\n### Using Antigen\n\nIf you prefer to use [Antigen](https://github.com/zsh-users/antigen) directly\nadd the following to your Antigen configuration:\n\n```bash\nantigen bundle gantsign/zsh-plugins bat\n```\n\nMore Roles From GantSign\n------------------------\n\nYou can find more roles from GantSign on\n[Ansible Galaxy](https://galaxy.ansible.com/ui/standalone/namespaces/2463/).\n\nDevelopment \u0026 Testing\n---------------------\n\nThis project uses the following tooling:\n* [Molecule](http://molecule.readthedocs.io/) for orchestrating test scenarios\n* [Testinfra](http://testinfra.readthedocs.io/) for testing the changes on the\n  remote\n* [pytest](http://docs.pytest.org/) the testing framework\n* [Tox](https://tox.wiki/en/latest/) manages Python virtual\n  environments for linting and testing\n* [pip-tools](https://github.com/jazzband/pip-tools) for managing dependencies\n\nA Visual Studio Code\n[Dev Container](https://code.visualstudio.com/docs/devcontainers/containers) is\nprovided for developing and testing this role.\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\nJohn Freeman\n\nGantSign Ltd.\nCompany No. 06109112 (registered in England)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgantsign%2Fansible_role_bat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgantsign%2Fansible_role_bat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgantsign%2Fansible_role_bat/lists"}