An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![GitHub release](https://img.shields.io/github/release/sgaunet/ansible-role-glab.svg)](https://github.com/sgaunet/ansible-role-glab/releases/latest)
[![CI](https://github.com/sgaunet/ansible-role-glab/workflows/CI/badge.svg)](https://github.com/sgaunet/ansible-role-glab/actions?query=workflow%3ACI)
[![License](https://img.shields.io/github/license/sgaunet/ansible-role-glab.svg)](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