https://github.com/sgaunet/ansible-role-glab
An Ansible Role that installs glab on Linux.
https://github.com/sgaunet/ansible-role-glab
ansible ansible-galaxy-role ansible-role glab setup
Last synced: 7 months ago
JSON representation
An Ansible Role that installs glab on Linux.
- Host: GitHub
- URL: https://github.com/sgaunet/ansible-role-glab
- Owner: sgaunet
- License: mit
- Created: 2024-06-19T16:24:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T20:24:15.000Z (10 months ago)
- Last Synced: 2025-02-05T09:19:07.818Z (9 months ago)
- Topics: ansible, ansible-galaxy-role, ansible-role, glab, setup
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/sgaunet/ansible-role-glab/releases/latest)
[](https://github.com/sgaunet/ansible-role-glab/actions?query=workflow%3ACI)
[](LICENSE)# Ansible Role: glab
An Ansible Role that installs [glab](https://docs.gitlab.com/ee/editor_extensions/gitlab_cli/) on Linux.
## Requirements
None.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
glab_bin_path: "/usr/local/bin/glab"
glab_tmp_directory: "{{ lookup('env', 'TMPDIR') | default('/tmp', true) }}"
glab_os: "Linux"
glab_arch: "x86_64"## Dependencies
None.
## Example Playbook
```yaml
- hosts: all
roles:
- sgaunet.glab
```## Development
### Testing
This role is tested with [Molecule](https://molecule.readthedocs.io/).
To run the tests, you need to have [devbox](https://www.jetify.com/devbox) installed on your machine.
```bash
devbox run test
```## License
MIT